02-08-2016 19:50 - edited 03-26-2016 10:25
02-08-2016 19:50 - edited 03-26-2016 10:25
I'm pulling this data to determine min, max and average for each day. Worked perfectly for all of January and up to today in February. When I go back to try and get December data, the 1 sec heart rates aren't returned. This is the URL:
https://api.fitbit.com/1/user/-/activities/heart/date/2016-12-26/1d/1sec/time/00:00/23:59.json
The heart zones information is available:
activities-heart] => Array
(
[0] => Array
(
[customHeartRateZones] => Array
(
)
[dateTime] => 2016-12-26
[heartRateZones] => Array
(
[0] => Array
(
[max] => 82
[min] => 30
[name] => Out of Range
)
.........
...but as you can see the dataset array is empty. Is the detail data purged on fitbit after a certain amount of time?
[activities-heart-intraday] => Array
(
[dataset] => Array
(
)
[datasetInterval] => 1
[datasetType] => second
)
Answered! Go to the Best Answer.
02-08-2016 21:42
02-08-2016 21:42
@ljhardy wrote:https://api.fitbit.com/1/user/-/activities/heart/date/2016-12-26/1d/1sec/time/00:00/23:59.json
@ljhardy The year might have something to do with it
02-08-2016 21:42
02-08-2016 21:42
@ljhardy wrote:https://api.fitbit.com/1/user/-/activities/heart/date/2016-12-26/1d/1sec/time/00:00/23:59.json
@ljhardy The year might have something to do with it
02-09-2016 04:57
02-09-2016 04:57
02-23-2016 21:06
02-23-2016 21:06
Hello @ljhardy, I am trying to do the same thing here: to get the intraday HR data in 1 sec resolution. I had a 'Client' type app work but had a difficult time wtih the 'Personal' type app. Could you please briefly show me how to go through the authentication process for a 'Personal' app?
Your help are highly appreciated!
03-13-2016 12:12
03-13-2016 12:12
I am pleased to announce that my Windows Powershell based module is now available that retrieves daily per-second heartrate data and automatically produces a fully formatted daily Excel report with additional minimum/maximum/average and detailed chart visualization!
Read more here and I welcome your feedback and support and please remember to follow me on Twitter for updates!
https://twitter.com/collinchaffin/status/709090629599436800
04-23-2016 13:57
04-23-2016 13:57
04-23-2016 13:57
04-23-2016 13:57