Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

itembase

Package Overview
Dependencies
Maintainers
7
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

itembase

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

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
5
66.67%
Maintainers
7
Weekly downloads
 
Created
Source

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

Keywords

itembase

FAQs

Package last updated on 06 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts