1.2.0 • Published 8 years ago

shapelink v1.2.0

Weekly downloads
16
License
-
Repository
github
Last release
8 years ago

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.