0.3.2 • Published 8 years ago

fitbit-js v0.3.2

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

fitbit-js

Simple FitBit API client for express 3.

npm install fitbit-js

Usage

fitbit-js has two methods:

getAccessToken(req, res, callback) // Uses oAuth module to get the access_token
apiCall(http_method, path, params, callback) // 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 install
cd example
node test.js [Consumer Key] [Consumer Secret] [Unit System (en_US or en_GB)](optional. Defaults to metric units)

open http://localhost:8553

0.3.2

8 years ago

0.3.1

9 years ago

0.3.0

10 years ago

0.2.0

11 years ago

0.1.1

11 years ago

0.1.0

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago

0.0.0

13 years ago