Client to the API
To create an API instance:
const API = require('sse-api-client');
const MyInstance = new API('http://URI/to/api/root/');
const Members = MyInstance.Members;
Members
.all()
.then(function(res) {
// do something
})
.catch(function(err) {
// do something
})