Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple FitBit API Client in node
JavaScript
Tree: d3976c39a5

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
.gitignore
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.