fitbit-js
Simple FitBit API client for express 3.
npm install fitbit-js
Usage
fitbit-js has two methods:
// Uses oAuth module to get the access_token // Does a call to the FitBit API.
params
must contain the token.
Test
Register an app with fitbit specifying a
callback URL of http://localhost:8553
.
npm installcd examplenode test.js [Consumer Key] [Consumer Secret] [Unit System ]