shapelink
v1.2.0
Published
Node client for the Shapelink API
Downloads
2
Readme
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.