0.0.4 • Published 8 years ago

solaris-sdk v0.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

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

0.0.4

8 years ago

0.0.3

8 years ago