What is the maximum time of end date that can be defined to fetch from Heart Rate Time Series API? Can we fetch the last 1 second heart rate from our Fitbit device through this Web API? Will Fitbit Web API return it? or it has limitation of maximal End Date that can be returned? How real time is it can be retrieved?
Is there any documentation that explain about it? Thanks.
Answered! Go to the Best Answer.
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.
The data through the Web APIs is not real-time. The data is only available after the user syncs their device with the mobile application. However, once the data is available, you can fetch your own personal intraday heart rate data in 1sec and 1min intervals. You'll need to set the application type = "personal".
If you require real-time heart rate data, you'll want to look at the Device SDK, https://dev.fitbit.com/build/reference/device-api/heart-rate/. The Device SDK is only supported for the smart watches. You'll build an app or clock face that is installed on the smart watch, and you'll build a companion application that runs on the mobile device to fetch the data from your device app and push to your server.
Best Answer
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.
The data through the Web APIs is not real-time. The data is only available after the user syncs their device with the mobile application. However, once the data is available, you can fetch your own personal intraday heart rate data in 1sec and 1min intervals. You'll need to set the application type = "personal".
If you require real-time heart rate data, you'll want to look at the Device SDK, https://dev.fitbit.com/build/reference/device-api/heart-rate/. The Device SDK is only supported for the smart watches. You'll build an app or clock face that is installed on the smart watch, and you'll build a companion application that runs on the mobile device to fetch the data from your device app and push to your server.
Best AnswerCan we fetch the last 1 second heart rate from this api https://api.fitbit.com/1/user/user_id/activities/heart/date/today/1d.json when my application type = "personal".