itembase

1.1.1 • Public • Published

itembase Build Status

Thin request-like interface for easy access to the itembase REST API from node.js.

npm install itembase

Usage

The module returns a request instance, which handles authentication and accepts relative itembase API URLs.

var itembase = require('itembase')('access_token');
 
itembase('/v1/users/:user_id/transactions', function(err, response, body) {
    console.log(body);
});

It's also possible to access the sandbox API.

var sandbox = require('itembase').sandbox('access_token');

License

MIT

Package Sidebar

Install

npm i itembase

Weekly Downloads

1

Version

1.1.1

License

MIT

Last publish

Collaborators

  • ebdrup
  • bubenshchykov
  • kapetan
  • wtfil
  • eagleeye
  • jonatanpedersen
  • bifrost
  • mpushkin