Package Exports
- pocketsmith
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pocketsmith) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
PocketSmith Node API
Work In Progress
Installation
npm i pocketsmithUsage
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...