shapelink

1.2.0 • Public • Published

Shapelink API

Node client for the Shapelink API.

Install

npm install shapelink

Usage

var Shapelink = require('shapelink').Shapelink;
var shapelink = new Shapelink("YOUR_API_KEY", "YOUR_SECRET", 'sv', true);
 
shapelink.diary.getDay(...).then(successCb, errorCb);

Implemented methods

API V1

  • auth.requireToken
  • user.get
  • user.getResources
  • diary.getStrengthExercises
  • diary.getDay
  • statistic.getStrengthExerciseHistory
  • challenge.getChallenge
  • challenge.getResults
  • challenge.getUserChallenges

API V2

  • diarynotation
  • workout (GET)

Feel free to submit a pull request if you implement other methods.

Dependents (0)

Package Sidebar

Install

npm i shapelink

Weekly Downloads

0

Version

1.2.0

License

none

Last publish

Collaborators

  • carlgrundberg