JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27
  • Score
    100M100P100Q70141F
  • License MIT

PocketSmith api wrapper for Node.

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

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...