Skip to content

rit-sse/api-client

Repository files navigation

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

Releases

No releases published

Packages

No packages published