Forum Posts

Resolved! Real time heart rate to Web server

Hello!i want to get my heart rate data from charge 5 and send it to my web server.Is there a way to retrieve real-time heart rate data using Charge 5 and send it to a web server?

zansis by Jogger
  • 179 Views
  • 4 replies
  • 0 votes

Resolved! Sleepsummary data

You have the API. We are using it for our research. There is Sleep API https://dev.fitbit.com/build/reference/web-api/sleep/get-sleep-log-by-date/ that sends us the sleep data for a specific day. User 1 slept last night but with interruptions. There ...

Resolved! Unable to Set Goals for activeZoneMinutes using WEB API

Hello,Has it become impossible to set goals for activeZoneMinutes using the WEB API?I have been using the Create Activity Goal API to set goals for activeZoneMinutes.However, recently I have been receiving the following error: "400 Client Error: The ...

sotky by Jogger
  • 322 Views
  • 6 replies
  • 5 votes

Is there a script to fetch all Activity TCX files?

I'm looking for a (preferably python but anything at all would help) script that fetches all activity data in TCX files. Does something like that exist?I'm pretty bummed out that Fitbit makes you manually export every single lifetime activity one by ...

SpO2 by Recovery Runner
  • 217 Views
  • 1 replies
  • 1 votes

Deleting Activities using the API

When trying to delete activities using python code that accesses the API; if the activity was created on/by the watch it cannot be deleted. However, if the activity is created automatically on the watch or by the API it can be deleted.Can anyone help...

simple discord app to compare steps

Hi all, I'm a hobby programmer with a small Discord community of friends and family. I would like to create a very simple Discord bot that uses the Fitbit API to pull and compare step data for each of my users. I have a fair amount of experience work...

Error : Missing parameters: state

HiI am trying to make a simple call to my firbit surge to pull my activity data but unfortunately I am getting the following error when the API call is trying the fetch the token through call back URL ( http://127.0.0.1:8080/)Note: I followed the rig...

Missing Heart Rate Data from Some API Calls

I have an app that uses the following route to receive activity data including heart rate zone data:  https://api.fitbit.com/1/user/-/activities/list.json The app has been in use for several years and does have the scope required for the heart rate d...

jcastle0 by Recovery Runner
  • 456 Views
  • 2 replies
  • 0 votes

which api do I call for these values?

I am currently using this:response = z.ApiCall(token, "/1.2/user/-/foods/log/date/"+today_date+".json")and it's returning 0 and 1909 calories.  Do you know which  file and specifically which values to retrieve the calorie in (479 calories) and calori...

calincalout.jpeg

How to use authorize backend application

Hello,Is there any recent tutorial that describes how to authorize my backend application with fitbit API. I created application in "manage my apps" on fitbit. I have client secret, and clienId. When I try to use it in (postman/insomnia) using grantT...

Is Fitbit's HRV data empty?

Hello.I want to import my HRV data from fitbit charge5 device.https://dev.fitbit.com/build/reference/web-api/heartrate-variability/get-hrv-summary-by-date/I can check the api address that can get HRV from the above address, and I want to get it accor...

J22222 by Jogger
  • 415 Views
  • 4 replies
  • 0 votes

Automate Login to Fitbit account

Hello,I am trying to write a pyhon script in order to automate login in to my fitbit account, but it is giving me <Response 501> error. Is it something from the server side which is not letting me do this?

Resolved! Retrieve Micronutrients via API

Dear team, as far as I can see, it’s not possible to extract micronutrients via the API. Will this feature ever be implemented? Built an app to track my nutrients and suggest foods to focus on, so this would be very important. thanks a lot! Best,Flor...

FlorisR by Jogger
  • 473 Views
  • 5 replies
  • 1 votes

Number of request

Hello, Does anyone can tell me if the number of request for the inspire 2 has a limit? One week ago I was able to visualize [activities-heart], now this information is emty and I am getting the same data alll the time. No new data is beong displayed ...

activities-heart-intraday fieldmissing

I'm using a personal token to get the date from https://dev.fitbit.com/build/reference/web-api/intraday/get-heartrate-intraday-by-date/ and I'm looking for the activities-heart-intraday field but is not in the output. https://api.fitbit.com/1/user/-/...

steriku by Jogger
  • 352 Views
  • 1 replies
  • 0 votes

Invalid_grant - Authorization code verifier invalid

Hello ! Happy new year ! I am trying to get data from Fitbit to my Django project.I am following this documentation (https://dev.fitbit.com/build/reference/web-api/developer-guide/authorization/). After the the step that redirects the user to Fitbit ...

tomkas by Jogger
  • 458 Views
  • 1 replies
  • 3 votes

Intra day activities api is giving irrelevant data?

API for intraday steps or any other heat rate is giving me some unrelated data.API - https://api.fitbit.com/1/user/-/activities/steps/date/20-11-2021/1d/1min.jsonHere I am expecting steps data with 1 min interval for day 20-11-2021 instead I am getti...

Dhivakhar by Recovery Runner
  • 282 Views
  • 1 replies
  • 0 votes

How often does the app sync with the FitBit Charge 4?

We are trying to pull in real-time heart rate or activity data, however it looks like it depends on how often the app syncs with the devices. We were wondering how often the automatic sync happens and if there is a way to change that and have it upda...

vanand by Jogger
  • 384 Views
  • 1 replies
  • 0 votes

extract data

Hey,I am doing research about musical features that contribute to stress reduction.I would like to use heartbeat and EDA response data taken from Fitbit cahrge4 which has the EDA feature.I already know that I can extract the heartbeat data, but I can...

App auth error

I added the app to my Dev screen, and used the Python file from the repo. I have two LEDs in my program. a "Connected" green LED and an "Auth error" red LED. But every time I launch the app, it's saying 0 steps, 0 calories, etc, the green LED stays o...

How do I make a Fitbit dashboard in Python?

This is my GUI. My GUI appCode for GUI (frontend):from tkinter import * from tk_tools import * from tkinter.ttk import * from tkinter import messagebox root=Tk() root.title('Fitbit Dashboard') root.grid() hr=RotaryScale(root, max_value=(220-age), uni...

Resolved! Developer information: unauthorized_client

Hi, I am trying to retrieve data from API FITBIT but shows me that error:I have register my app and setting it up but It continues with this error. I tried putting personal, server, and client in OAuth 2.0 Application Type field but not retrieving an...

Resolved! How to start a private project?

I just want to access and evaluate my own personal data and learn more about using web APIs. I will be the only user of any software I am going to write. The registration process on https://dev.fitbit.com/apps does not seem to appy to my use case sin...

Fitbit API for personal use....?

Dear all,  I would like to track my own personal account Fitbit data to perform analytics and obtain insights into my performance on a real time basis using Python code I intend to write. To perform this, I require access to Fitibt APIs which in turn...

Resolved! Missing Grant Type Parameter Value

Hi All,I have a bit of code that has been working for months that started throwing an error recently, and I'm not sure why. I do not believe we made any changes to this code that would cause it to break. The error happens when trying to refresh acces...

jcastle0 by Recovery Runner
  • 3993 Views
  • 19 replies
  • 2 votes

mass-downloading data

Dear Sir/Madam,  We got recently approved funding to buy approx. 100-120 Fitbit Charge3 watches to participate in a research project to monitor medical personel that attends patients with COVID-19 in the Hospital General de México in collaboration wi...

Require Automatic Authentication from Python Script

Hi All,I am new Fibit app development. Currently, I am using Fitbit Web API following the article https://towardsdatascience.com/collect-your-own-fitbit-data-with-python-ff145fa10873It is working fine and I need to login my account and allow the scop...