Directly, there is no API call that I know of.
Indirectly, you could use getActivityStreams to retrieve the various streams for the file you care about and then create your own tcx file. I haven’t searched but I expect there are libraries around for most major programming languages to make creating the file easier.
TCX schema: https://www8.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd
Directly, there is no API call that I know of.
Indirectly, you could use getActivityStreams to retrieve the various streams for the file you care about and then create your own tcx file. I haven’t searched but I expect there are libraries around for most major programming languages to make creating the file easier.
TCX schema: https://www8.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd
Hello ActivityFix and thank you for you answer!
In my mid getActivityStreams was corresponding to a currently happening activity. Is it also available for past activities?
Thank you!
All API calls to retrieve activity data are on past activities. You don't have an activity ID until the activity is saved.
Ok, thank you, I’ll look into streams. It should be the right solution for me as I’m more trying to get detailed info of activity than getting a .tcx file. I thought tcx would give me the info I need, but streams is may be a better option.
Thanks!