pocketsmith

0.3.0 • Public • Published

PocketSmith Node API

NPM version Travis Codecov

Work In Progress

Installation

npm i pocketsmith

Usage

var PocketSmith = require('pocketsmith');
 
var Smith = new PocketSmith('my-token'); // Obtain a token via https://developers.pocketsmith.com/
 
// Scoped to the `me` endpoint
Smith.init().then(function(User) {
    User.Accounts.getAll(function(Accounts) { ... });
});
 
// -- or --
 
Smith.Accounts.getAllByUser(1, function(Accounts) { ... });
 
// List of api endpoints coming soon...

Package Sidebar

Install

npm i pocketsmith

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

26.1 kB

Total Files

38

Last publish

Collaborators

  • marais