This Choreo uses your OAuth credentials to authenticate your account with Fitbit, and retrieves a list of a user's activities and activity log entries for a specified date. The documentation for this Fitbit resource can be found here.
Here's an example list of acceptable inputs:
AccessToken: {YOUR FITBIT ACCESS TOKEN}
Date: 2013-03-18
The following is a sample of the JSON information returned by this Choreo:
{
"activities": [
{
"activityId": 890911,
"activityParentId": 890911,
"activityParentName": "Tennis",
"calories": 100,
"description": "",
"duration": 100,
"hasStartTime": true,
"isFavorite": false,
"logId": 20205615,
"name": "Tennis",
"startTime": "02:00"
},
{
"activityId": 890907,
"activityParentId": 890907,
"activityParentName": "Running",
"calories": 100,
"description": "",
"distance": 1.61,
"duration": 100,
"hasStartTime": true,
"isFavorite": false,
"logId": 20219894,
"name": "Running",
"startTime": "12:00"
}
],
"goals": {
"activeScore": 1000,
"caloriesOut": 2184,
"distance": 8.05,
"floors": 10,
"steps": 10000
},
"summary": {
"activeScore": 126,
"activityCalories": 0,
"caloriesOut": 1711,
"distances": [
{
"activity": "total",
"distance": 0
},
{
"activity": "tracker",
"distance": 0
},
{
"activity": "loggedActivities",
"distance": 1.61
},
{
"activity": "veryActive",
"distance": 0
},
{
"activity": "moderatelyActive",
"distance": 0
},
{
"activity": "lightlyActive",
"distance": 0
},
{
"activity": "sedentaryActive",
"distance": 0
},
{
"activity": "Tennis",
"distance": 0
},
{
"activity": "Running",
"distance": 1.61
}
],
"elevation": 0,
"fairlyActiveMinutes": 0,
"floors": 0,
"lightlyActiveMinutes": 0,
"marginalCalories": 0,
"sedentaryMinutes": 937,
"steps": 0,
"veryActiveMinutes": 0
}
}