Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent 9329c35 commit d98fc0414dde22289cc1d05a2b175e8ffdbe9dd9 @smurthas committed Mar 3, 2013
Showing with 6 additions and 4 deletions.
  1. +6 −4 README.md
View
@@ -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)

0 comments on commit d98fc04

Please sign in to comment.