A node.js client module for the unofficial Jawbone UP API
A node.js API wrapper for the undocumented Jawbone UP API.
Based on Eric Blue's most-excellent work, found here: http://eric-blue.com/projects/up-api/
var Up = require'up';var upClient =username: JAWBONE_USERNAMEpassword: JAWBONE_PASSWORD;
The UP API requires that an auth token is passed with each request. To generate the token, call the
upClientauthvar token = restoken;console.logtoken;;
It's a good idea to make the auth request first and store the resulting token in your app for subsequent requests.
The only required parameter for each endpoint is the token.
Some endpoints accept further parameters, which are documented before each method in
/lib/Up.js, as well as in Eric's API docs.
npm install up
$ npm test