Last active
September 3, 2022 15:52
-
-
Save spawnrider/f4fa499c38b1c81eac7ce194eec287a8 to your computer and use it in GitHub Desktop.
Export all GPX from Garmin Connect using Chrome Console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery.getJSON( | |
'https://connect.garmin.com/modern/proxy/web-gateway/course/owner/?_=1662219617626', | |
function(act_list) | |
{ | |
var t=0; | |
console.log(act_list); | |
act_list.coursesForUser.forEach( | |
function(course) { | |
setTimeout(function() { | |
console.dir(course['courseId']); | |
location = 'https://connect.garmin.com/modern/proxy/course-service/course/gpx/' + course['courseId']; | |
}, t+=2000); | |
} | |
) | |
} | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery.getJSON( | |
'https://connect.garmin.com/modern/proxy/activitylist-service/activities/search/activities?limit=200', | |
function(act_list) | |
{ | |
var t=0; | |
act_list.forEach( | |
function(act) | |
{ | |
setTimeout(function() { | |
console.dir(act['activityId'], act['activityName'], act['startTimeLocal']); | |
location = 'https://connect.garmin.com/modern/proxy/download-service/export/gpx/activity/' + act['activityId']; | |
}, t+=5000); | |
} | |
); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment