Package Exports
- limelight-crm-api
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (limelight-crm-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
LimeLight CRM API
A small library providing utility methods to request LimeLight CRM API
Installation
$ npm install limelight-crm-api --save
Usage
Init LimeLight
var LimeLight = require("limelight-crm-api");
var limelight = new LimeLight({
url: 'https://www.yourlimelightserver.com/admin/',
user: 'username',
pass: 'secretpass'
});request method
limelight.request('membership', 'order_view', {
order_id: 99999
})
.then(function(data) {
console.log('Server responded with: ', data);
})
.catch(function(err) {
console.error('Error: ', err);
});Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style.
Release History
- 1.0.0 Initial release