Node.js based SDK for the Nitrapi
$ npm install --save nitrapi
var Nitrapi = require('nitrapi');
var api = new Nitrapi("<access token>");
api.getServices(function (services) {
// successfully got our service list
console.log(services);
}, function (error) {
// an error occured
console.error(error);
});
This SDK works very similar to the Nitrapi-PHP SDK. You can read the comments there to find out which parameters most methods expect.
For more information on the capabilities of the Nitrapi, consult the official documentation.
MIT © CodingNavi