solaris-sdk
v0.0.4
Published
is a simple library for NodeJS, that wraps up the RESTfull API of the solaris banking back end.
Downloads
7
Readme
solaris-sdk
is a simple library for NodeJS, that wraps up the RESTfull API of the solaris banking back end.
It's mainly for internal use of my team. You must posses the access data to solaris infrastructure in order to be able to use this API.
install
$ npm install solaris-sdk
use
// require the module
var solaris = require('solaris-sdk');
// Create a connector
var con = solaris.create({
baseUrl: "example.com/api",
isSSL: true,
credentials: {
token: "token"
}
});
// call some API: GET api/businesses/{id}
var id = 101;
conn.getById(null, solaris.Resources.BUSINESSES, id, null, null, function(err, data) {
// do something with the received data
});
##license ISC