Skip to content

Instantly share code, notes, and snippets.

@wadecourtney
wadecourtney / gcdownloader.py
Created January 14, 2013 04:22
A tool that allows you to download activities from Garmin Connect. Features include downloading in kml, gpx, and tcx format, selecting the number of activities to download, which activity to begin the activity search, and where to save the activities. Very little error checking is done.
#!/usr/bin/env python3
import http.client
http.client.HTTPConnection.debuglevel = 0
#import urllib.request
from urllib.request import Request, urlopen, HTTPCookieProcessor
from urllib.parse import urlencode
import argparse
import sys,os