Skip to content

ebrensi/garmin-connect-export-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

garmin-connect-export-db

Download and populate a database with your Garmin Connect data. This project started out as a fork of garmin-connect-export and became a project of its own, for populating a PostgreSQL database rather than backing up activity files.

usage: gcexport-db.py [-h] [--url [URL]] [--username [USERNAME]]
                      [--password [PASSWORD]] [-c [COUNT]] [--clean]

optional arguments:
  -h, --help            show this help message and exit
  --url [URL]           SQLAlchemy database url of the form (dialect+driver://
                        username:password@host:port/database) defaults to
                        $DATABASE_URL environment variable
  --username [USERNAME]
                        your Garmin Connect username (otherwise, you will be
                        prompted)
  --password [PASSWORD]
                        your Garmin Connect password (otherwise, you will be
                        prompted)
  -c [COUNT], --count [COUNT]
                        number of recent activities to download, or 'all'
                        (default: 1)
  --clean               This will create the necessary tables in your database
                        and download all of the data.

Contributions weclome!

About

Download activities from a Garmin Connect account and populate a database with them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages