/escher-suiteapi-js

Primary LanguageJavaScriptMIT LicenseMIT

Escher Suite Api js

Dependency Status devDependency Status

Usage

var suiteRequest = new SuiteRequest('example.environment', 'auth.name', 'auth.secret');

suiteRequest.get('/customerId/administrator').then(function(response){
  console.log(response);
});

suiteRequest.post('/customerId/field', {
  application_type: 'shorttext',
  name: 'test2'
}).then(function(response) {
  console.log(response);
});