Skip to content

Import data from GarminConnect to Notion database

License

Notifications You must be signed in to change notification settings

rjpritchard/garmin-to-notion

 
 

Repository files navigation

Sync Garmin to Notion

Garmin to Notion Integration ⌚

This project connects your Garmin activities and personal records to your Notion database, allowing you to keep track of your performance metrics in one place.

Features ✨

🔄 Automatically sync Garmin activities to Notion in real-time
📊 Track detailed activity metrics (distance, pace, heart rate)
🎯 Extract and track personal records (fastest 1K, longest ride)
🤖 Zero-touch automation once configured
📱 Compatible with all Garmin activities and devices
🔧 Easy setup with clear instructions and minimal coding required

Prerequisites 🛠️

  • A Notion account with API access.
  • A Garmin Connect account to pull activity data.
  • If you wish to sync your Peloton workouts with Garmin, see peloton-to-garmin

Getting Started 🎯

A detailed step-by-step guide is provided on my Notion template here. For more advanced users, follow these steps to set up the integration:

1. Set Environment Secrets

Ensure that your environment secrets are correctly configured for secure data access.

2. Create Notion Token

3. Run Scripts (if not using automatic workflow)

  • Run garmin-activities.py to sync your Garmin activities to Notion.
    python garmin-activities.py
  • Run person-records.py to extract activity records (e.g., fastest run, longest ride).
    python personal-records.py

Example Configuration 📝

You can customize the scripts to fit your needs by modifying environment variables and Notion database settings.

Here is a screenshot of what my Notion dashboard looks like:
garmin-to-notion-template

My Notion template is available for free and can be duplicated to your Notion here

Acknowledgements 🙌

Contributing 🤝

Contributions are welcome! If you find a bug or want to add a feature, feel free to open an issue or submit a pull request. Financial contributions are also greatly appreciated 😊

Buy Me A Coffee

©️ License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Import data from GarminConnect to Notion database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%