Skip to content

nayanjain/fitbit-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple FitBit API Client in node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published