pe-st / garmin-connect-export

Download a copy of your Garmin Connect data, including stats and GPX tracks.
MIT License
364 stars 75 forks source link

Download Fit file instead of GPX #75

Open nikinicole opened 2 years ago

nikinicole commented 2 years ago

Hello everyone, I am a researcher @university and I'm currently using this package to obtain gpx data. Is there a possibility to obtain also the .fit file so that I can also gather info the overall activity?

Thanks,

n

joetimmerman commented 2 years ago

Hi,

You can use the "-f original" argument to export the files in their original format (see fourth example in the readme). This is frequently .fit but obviously depends on how the data was recorded.

-Joe

pe-st commented 2 years ago

Allow me to elaborate a bit, @nikinicole. @joetimmerman is right with the -f original argument, but it is not enough, you also need the -u option (-f original -u), as -f original downloads a ZIP file with the FIT file in it and -u then unzips it