02-11-2020 04:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
02-11-2020 04:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am working on a project, where I need to get real time heart rate data in Python to continuously monitor it. I am not sure if fitbit provide any function to get live data.
Also I found some function to get heart-rate data but I am getting an errror.
I am using following function to extract data:
today = str(datetime.datetime.now().strftime("%Y-%m-%d"))
fit_statsHR = auth2_client.heart(date=today)
Error:
fitbit.exceptions.HTTPNotFound: The API you are requesting could not be found.
Please help me to solve this issue.

- Labels:
-
Inspire HR
02-14-2020 10:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



02-14-2020 10:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @SunsetRunner
Would you please provide me the client ID for your application? Based on the error, it sounds like the API call your Python library is generating has bad syntax. I can verify that in our logs.
Thanks!
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

02-17-2020 21:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
02-17-2020 21:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Here is my Client Id.
22BL5W
Please message me the correct way to call the function to get heart rate data.

02-18-2020 14:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



02-18-2020 14:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@SunsetRunner I wasn't able to pull up anything in our logs within the last 7 days using your client id. Unfortunately, our logs can only go back this far. Could you try your request again and let us know when you do? Then we can make another attempt to see what is occurring through the logs.
Also, can you provide me with the following information:
- The endpoint you are executing
- The status code and error message you are receiving
Hope to hear from you soon!

