02-15-2019 20:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-15-2019 20:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
hi,
i want get data from my fitbit device for my iphone application i am using as following api
https://api.fitbit.com/1/user/-/activities/heart/date/today/1d/1sec/time/00:00/00:01.json for heart rate.
but it gives me "activities-heart-intraday" empty response. i gives me response as follows
{
"activities-heart": [
{
"customHeartRateZones": [],
"dateTime": "today",
"heartRateZones": [
{
"max": 96,
"min": 30,
"name": "Out of Range"
},
{
"max": 135,
"min": 96,
"name": "Fat Burn"
},
{
"max": 164,
"min": 135,
"name": "Cardio"
},
{
"max": 220,
"min": 164,
"name": "Peak"
}
],
"value": "0"
}
],
"activities-heart-intraday": {
"dataset": [],
"datasetInterval": 1,
"datasetType": "second"
}
}
please let me know how to get activities-heart-intraday's dataset in my response i am giving all params in right way according to fitbit documentation please let me know where am wrong ??

