07-13-2015 20:25
07-13-2015 20:25
The request of API call bellow.
curl https://api.fitbit.com/1/user/-/activities/heart/date/today/1d/1min/11:50/12:00.json -H "Authorization: Bearer ....."
Giving me the data but not included any hear-rate record?
Is there any thing I missing?
part of the response:
"
{
categories = (
{
activities = (
{
accessLevel = PUBLIC;
activityLevels = (
{
id = 3016;
maxSpeedMPH = "-1";
mets = "8.5";
minSpeedMPH = "-1";
name = "6 - 8 inch step";
},
{
id = 3017;
maxSpeedMPH = "-1";
mets = 10;
minSpeedMPH = "-1";
name = "10 - 12 inch step";
}
);
hasSpeed = 0;
id = 90004;
name = "Aerobic step";
},
{
accessLevel = PUBLIC;
hasSpeed = 0;
id = 3015;
mets = "6.5";
name = "Aerobic, general";
},
...."
Best Answer07-15-2015 15:49
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
07-15-2015 15:49
@JerryZhou wrote:
The request of API call bellow.
curl https://api.fitbit.com/1/user/-/activities/heart/date/today/1d/1min/11:50/12:00.json -H "Authorization: Bearer ....."
That's not a valid URL. You want: https://api.fitbit.com/1/user/-/activities/heart/date/today/1d/1min/time/11:50/12:00.json
Best Answer