Skip to content

Latest commit

History

History
22 lines (17 loc) 路 444 Bytes

README.md

File metadata and controls

22 lines (17 loc) 路 444 Bytes

api-client

Circle CI

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
  })