Skip to content
embear edited this page Sep 22, 2015 · 1 revision

How to download FIT files from Garmin Connect website

Currently there is no software available to create FIT files on the Linux operating system. The only way to get FIT files for uploading them to your device is to create a workout or course on the Garmin Connect website and use the Garmin Connect Web API to download the files to your computer. Unfortunately Garmin limits the downloading of FIT files to registered and logged in users. Therefore a little hack is needed.

First you need to create bookmarks to enable downloading the files later on. The following description is for Firefox/Iceweasel browser but should work on other browsers too. Just create a new bookmark, give it a useful name and use the javascript below as location.

  • Bookmark for downloading course files:
javascript:(function(){window.location='https://connect.garmin.com/proxy/course-service-1.0/fit'+window.location.pathname.replace("/modern","");})()
  • Bookmark for downloading workout files:
javascript:(function(){window.location='https://connect.garmin.com/proxy/workout-service-1.0/fit'+window.location.pathname.replace("/modern","");})()

To download FIT files log in to Garmin Connect and open the page for the course or workout you want to download. This step is needed to authenticate to Garmin connect. Now click on the course or workout bookmark depending on what type you are currently viewing.

The javascript stored as a bookmark will take the currently opened URL, generate an URL for the Garmin Connect Web API and download the FIT file. After download just put the files to the antfs-cli data folder and run antfs-cli --upload to get it on your device.

References

Clone this wiki locally