Skip to content
Simple FitBit API Client in node
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example
lib
.gitignore
Procfile
README.md
package.json

README.md

fitbit-js

Simple FitBit API client for express + connect.

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

Enter your consumer key and secret in example/test.js

cd test
node test.js

open http://localhost:8553

Something went wrong with that request. Please try again.