0.0.14 • Published 8 years ago
mambu-sdk v0.0.14
mambu-sdk
is a simple library for NodeJS, that wraps up the RESTfull API of the mambu banking core backend (mambu.com).
Note that this is a work in progress and still very incomplete. More APIs will come soon.
install
$ npm install mambu-sdk
use
// require the module
var mambu = require('mambu-sdk');
// Create a connector
var con = mambu.create({
baseUrl: "example.com/api",
isSSL: true,
defaultCredentials: {
user: "admin-user",
password: "admin-pass"
}
});
// call some API: GET /api/groups/{id}
var id = 101;
con.getById(null, mambu.Resources.GROUPS, id, function(err, data) {
// do something with the received data
});
##license ISC