07-06-2021 21:26
07-06-2021 21:26
When I query intraday HR data, I see results that contain the following. What is "value" here? Is it resting HR or average HR?
"activities-heart": [
{
"customHeartRateZones": [],
"dateTime": "today",
"heartRateZones": [
{
"caloriesOut": 2.3246,
"max": 94,
"min": 30,
"minutes": 2,
"name": "Out of Range"
},
{
"caloriesOut": 0,
"max": 132,
"min": 94,
"minutes": 0,
"name": "Fat Burn"
},
{
"caloriesOut": 0,
"max": 160,
"min": 132,
"minutes": 0,
"name": "Cardio"
},
{
"caloriesOut": 0,
"max": 220,
"min": 160,
"minutes": 0,
"name": "Peak"
}
],
"value": "64.2"
}
07-07-2021 08:47
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-07-2021 08:47
Hi @anrerp
I believe it should be resting heart rate. Would you please provide me with the syntax you're using? I cannot reproduce "value" being returned.
Gordon
Best Answer07-07-2021 16:28
07-07-2021 16:28
I'm using the intraday_time_series(...) function from this library here: https://python-fitbit.readthedocs.io/en/latest/
The above output, however, is actually taken directly from here: https://dev.fitbit.com/build/reference/web-api/heart-rate/#get-heart-rate-intraday-time-series (as I couldn't post participant data). So, the example on Fitbit's website also shows "value" in output. Can you confirm that that's indeed resting heart rate? I need to use this data for research.
Best Answer07-08-2021 08:27
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-08-2021 08:27
The docs are a little outdated and are in the process of being updated. We don't support the Oauth2 libraries, and I don't see any endpoints listed on that page. Would you please provide me the endpoint being executed in your code? I believe it should be resting heart rate. The endpoint will help me determine if there is a bug in our service or your library.
Best Answer