Skip to main content

Export Garmin Connect activities to iCalendar file

Project description

Garmin iCAL Export

Garmin Connect only allows you to publish calendar with planned workouts for upcoming 30 days (source). There is no way how to export/publish your passed activities. This package provides a CLI tool that fills the gap.

The package will export your activities to iCalendar file that can be imported into any calendar client.

To keep your calendar always synced with Garmin Connect you will have to:

  1. schedule a periodical job to run the CLI tool
  2. publish iCalendar file to an URL
  3. create new calencdar in your client connected to the URL

Installation

pip3 install garmin-ical-export

Usage

usage: garmin-ical-export [-h]
                          [--activity_type {running,cycling,swimming,multi_sport,fitness_equipment,hiking,walking,winter_sports,other,all}]
                          [--limit LIMIT]
                          [--measurement_system {metric,imperial}]
                          [--target_file TARGET_FILE]
                          login_email password

Exports Garmin Connect activities to iCalendar file.

positional arguments:
  login_email           your Garmin Connect login e-mail
  password              your Garmin Connect login password

optional arguments:
  -h, --help            show this help message and exit
  --activity_type {running,cycling,swimming,multi_sport,fitness_equipment,hiking,walking,winter_sports,other,all}
                        export only specific type of activity
  --limit LIMIT         max. number of activities to export
  --measurement_system {metric,imperial}
                        which system to use to calculate activity properties
  --target_file TARGET_FILE
                        target .ics file (prints to stdout if not passed)

Examples

Export all activities, print the result.

garmin-ical-export <GARMIN_CONNECT_EMAIL> <GARMIN_CONNECT_PASSWORD>

Export only running activities, save the result to garmin_activities.ics file inside home folder.

garmin-ical-export <GARMIN_CONNECT_EMAIL> <GARMIN_CONNECT_PASSWORD> --activity_type running --target_file ~/garmin_activities.ics

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

garmin_ical_export-1.1.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

garmin_ical_export-1.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file garmin_ical_export-1.1.1.tar.gz.

File metadata

  • Download URL: garmin_ical_export-1.1.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for garmin_ical_export-1.1.1.tar.gz
Algorithm Hash digest
SHA256 bec2cd46bf8e06777947667796a46ba77720c2b56f416b747841e7814cc94de0
MD5 51f7c7d216fa55eea95732e9a7022436
BLAKE2b-256 5c9eabd200163303a1774613775d2698e0c0956ad115e6ad66144ef249551096

See more details on using hashes here.

File details

Details for the file garmin_ical_export-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for garmin_ical_export-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1e13992a44adbbd6475d1ab6ecca8339615d970fab20aae3493189c5d441524
MD5 772f98d4059c977e0ca5c3b5fc5556b3
BLAKE2b-256 449992f55e1621cd524744825d1deb380b9e7b907976febb13447d8490d7e57a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page