Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Upload TCX activity to fitbit

ANSWERED

Hello there,

 

I m working with Python. Currently my app extends tapiriik / exercisync application for my use. It downloads / uploads activities between any services (strava, decathlon, garmin, and more). 

My question is : is it possible to SEND a TCX file to fitbit to upload a GPS activity ? 

Actually everything works but when i want to upload a GPS + HeartRate activity to Fitbit, i can't do it simply with a TCX file.

 

If this is not possible, did somebody develop it with Fitbit API in python ? 

 

Thanks for help 🙂

 

(sorry for my bad english 😛 )

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @AnaelJ 

 

Unfortunately, we do not have a way for you to import data to Fitbit with a TCX file through the Web APIs.  You would need to parse the data out of the TCX file and send it using one of the POST Activities endpoints.

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
0 Votes
9 REPLIES 9

Hi @AnaelJ 

 

Unfortunately, we do not have a way for you to import data to Fitbit with a TCX file through the Web APIs.  You would need to parse the data out of the TCX file and send it using one of the POST Activities endpoints.

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Hello Gordon,

 

 

Thanks for help,

I ll take a look on API to send all my data, if i'm not wrong, i've to use any endpoint to set my data (gps, hearrate, ...)

 

Thanks 🙂

Best Answer
0 Votes

Hello Gordon,

 

 

I've got another question, i'm looking to parse my TCX file to set an activity to your service. 

But when i'm looking your API, i didn't find a way to send GPS and HeartRate data to a specific activity logId, only time series bound by datetimes. Where can i find all endpoints to use to set GPS and HeartRate info for sport tracking activities only ? 

Best Answer
0 Votes

We don't have the ability to manually log GPS or Heart Rate data through the Web APIs.  How are you collecting this information from your customers?

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Hello Gordon,

 

I'm actually working for a "transfer" application. This app will share data with some services (like strava, garmin, decathlon, and more). So these informations come from these services API (usually using GPX file format).

For my use, i fork this repository : https://github.com/Antash/exercisync and i'm actually adding your service.

 

Thanks for help,

 

Anael

Best Answer

I checked with our team.  Unfortunately, there is not a way to log GPS or Heart Rate with us.

 

 

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

It's ok ! 

 

Thanks a lot for answers Gordon 🙂 

 

Anael

Best Answer
0 Votes

What's the URL of that forked repo, the exercisync has 250+ forks, I want to find your FitBit implementation

Best Answer
0 Votes

I meant @AnaelJ 's fork of https://github.com/Antash/exercisync with fitbit upload support code, where is that?

Best Answer
0 Votes