Hi Team,
I am trying to fetch .tcx files(or xml of mine and friends) using API , could you please help on the process to follow. In that quest, I landed on dev.fitbit.com and trying to register my app(attached the image of registation form) . could you help me by providing some idea on that. I can't manully upload from my dashboard as i have around 300-400 activities done in all these years (since 2016).
Many thanks in advance!
Thanks
Raveendra
Answered! Go to the Best Answer.
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.
Yes, you can download you're own current and historical TCX files using the APIs. See https://dev.fitbit.com/build/reference/web-api/activity/#get-activity-tcx. The data you will receive should be similar to this
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.
Hi @RBPasumarthi ... Are there specific fields that you have questions about?
Gordon
Best AnswerHi Gordon,
first of all thanks for your reply. i am looking for all the fields in the .tcx file. i quickly exported a .gpx file ( my fitbit .tcx that was sync'd to strava) and below are the fields , so i am looking for all the fields in the .tcx file
kindly let me know if i can API as developer to my own data and some archival data
thanks
Raveendra
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.
Yes, you can download you're own current and historical TCX files using the APIs. See https://dev.fitbit.com/build/reference/web-api/activity/#get-activity-tcx. The data you will receive should be similar to this
Hi Gordon,
thanks, this is immense help. could you also help on these two things.
1. can i get another user's data with his/her permision?
2. can i get random data of mutliple users (some stale and unused data) for an academic project?
thanks again,
Raveendra
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.
You can retrieve other people's data but only after they consent to share their data with your application using the authorize endpoint. See https://dev.fitbit.com/build/reference/web-api/oauth2/#obtaining-consent
Hi Gordan,
thank you so much. Infact I was trying to fetch with consent only.
Thanks a lot
Raveendra
Best Answer