Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update README.md

  • Loading branch information...
commit d98fc0414dde22289cc1d05a2b175e8ffdbe9dd9 1 parent 9329c35
@smurthas authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 README.md
View
10 README.md
@@ -8,10 +8,12 @@ Simple FitBit API client for express + connect.
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.
+```javascript
+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.
+`params` must contain the token.
## Test
@@ -20,4 +22,4 @@ Enter your consumer key and secret in example/test.js
cd test
node test.js
-open http://localhost:8553
+open [http://localhost:8553](http://localhost:8553)
Please sign in to comment.
Something went wrong with that request. Please try again.