All Projects → garmin-data → garmdown

garmin-data / garmdown

Licence: MIT license
Download Garmin Connect Data

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to garmdown

Holysheet
A program to store arbitrary files in Google Sheets
Stars: ✭ 59 (+321.43%)
Mutual labels:  google-drive, google-sheets
PasswordKeeper
Web-app to help you securely store your encrypted passwords in your Google Drive.
Stars: ✭ 43 (+207.14%)
Mutual labels:  google-drive, google-sheets
Googlesheets4
Google Spreadsheets R API (reboot of the googlesheets package)
Stars: ✭ 232 (+1557.14%)
Mutual labels:  google-drive, google-sheets
Googlesheets
Google Spreadsheets R API
Stars: ✭ 771 (+5407.14%)
Mutual labels:  google-drive, google-sheets
code
Google Apps Script - Code Snippets 👩🏻‍💻
Stars: ✭ 108 (+671.43%)
Mutual labels:  google-drive, google-sheets
cap-table-tool
Cap Table and Exit Waterfall Tool, https://foresight.is/cap-table
Stars: ✭ 22 (+57.14%)
Mutual labels:  google-sheets
Google-Drive-Stream-Proxy
Alternative Google Drive Stream Script
Stars: ✭ 48 (+242.86%)
Mutual labels:  google-drive
alexa-open-doc
An Amazon Alexa skill to open and edit google docs through voice
Stars: ✭ 63 (+350%)
Mutual labels:  google-drive
LocalizationService
Tools for localization Unity's UIText components
Stars: ✭ 22 (+57.14%)
Mutual labels:  google-sheets
Google-Docs-Desktop-OSX
A Super Simple Google Docs Desktop Client for Mac OSX Built in Javascript and MacGap
Stars: ✭ 35 (+150%)
Mutual labels:  google-drive
toggl-google-sheet
Import Toggl time entries into a Google Sheet
Stars: ✭ 17 (+21.43%)
Mutual labels:  google-sheets
gclone
fork from https://github.com/donwa/gclone
Stars: ✭ 83 (+492.86%)
Mutual labels:  google-drive
pandoc-placetable
Pandoc filter to include CSV data (from file or URL)
Stars: ✭ 35 (+150%)
Mutual labels:  google-sheets
csvtogs
Take a CSV file and create a Google Spreadsheet with the contents
Stars: ✭ 15 (+7.14%)
Mutual labels:  google-sheets
xiaomi gdrive
Google drive loader for xiaomi smart ip camera
Stars: ✭ 70 (+400%)
Mutual labels:  google-drive
Meowdrive
Meowdrive/Google drive directlink
Stars: ✭ 22 (+57.14%)
Mutual labels:  google-drive
google-backup
Drive/Gmail/Calendar backups
Stars: ✭ 31 (+121.43%)
Mutual labels:  google-drive
react-google-sheet
Pulling data from Google Sheets with React components
Stars: ✭ 24 (+71.43%)
Mutual labels:  google-sheets
kuebikobot
A telegram bot that deploys to heroku/aws and downloads links and torrents and uploads to google drive and returns public share link
Stars: ✭ 127 (+807.14%)
Mutual labels:  google-drive
MiXLab
MiXLab is a mix of multiple amazing Colab Notebooks found on the internet such as rcloneLab, RLabClone, Torrent to Google Drive Downloader and some more.
Stars: ✭ 143 (+921.43%)
Mutual labels:  google-drive

Download Garmin Connect Data

PyPI Python 3.7 Python 3.8 Build Status

This software downloads TCX files and accompanying activity metadata files from the Garmin Connect website. Since Garmin has discontinued its API to download your data this software was written to take its place. It is the opinion of the author that this data generated by the athlete should be accessible via an automated method and not constrained to a Web GUI interface.

Features:

  • Download Garmin activity data.
  • Track data in an SQLite database (avoid re-downloading).
  • Sync duration statistics with GoogleSheets.
  • Print basic information and statistics on previous activities.
  • Convenient importing in your favorite analysis tool (i.e. GoldenCheetah).

Table of Contents

Obtaining

The easist way to install the command line program is via the pip installer:

pip install zensols.garmdown

Binaries are also available on pypi.

Data Life Cycle

  1. Download activities. These are independent blocks of data that provide information used to later download the respective TCX file.
  2. Download the TCX file. The TCX file has all the information needed by workout analysis applications like GoldenCheetah.
  3. Import TCX file. This step simply copies downloaded files to a directory that's easy to access by the workout analysis application.
  4. Ingest TCX files. Import all files in the import folder to your data workout analysis application. After this step you delete the folder as subsequent invocations of step 3 will regenerate it.
  5. Backup the activities database. In the rare case the binary database file (see below) might be corrupted, a backup is made every N days (where N is specified in a configuration file).

All state between all of these steps are recorded in an SQLite database, which is a binary file stored on the file system. If this doesn't make sense to you, it means that you shouldn't need to install anything special and it lives on your disk.

History

The activity download module was inspired by Shannon's original project, which was used to navigate the convoluted Garmin client API.

Usage

The easiest way to use the program is to use the sync action repeatedly until the program doesn't do anything, example:

$ garmdown sync

This invokes all data life cycle steps, meaning it imports activities in to the database, downloads the TCX files and creates a handy import directory (by default in your desktop directory ~/Desktop/to-import).

Command Line

Usage: usage: garmdown <list|activity|backup|env|import|notdown|notimport|sheet|sync|tcx> [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -w NUMBER, --whine=NUMBER
                        add verbosity to logging
  -c FILE, --config=FILE
                        configuration file
Actions:
  activity   Download outstanding activites
  -l, --limit <int>    the limit

  backup     Backup (force) the activites database

  env        Print environment
  -d, --detail         report details of missing data

  import     Import tcx file
  -l, --limit <int>    the limit

  notdown    Print activities not downloaded
  -d, --detail         report details of missing data

  notimport  Print activities not imported
  -d, --detail         report details of missing data

  sheet      Update google docs training spreadsheet

  sync       Download all outstanding data
  -l, --limit <int>    the limit

  tcx        Download outstanding tcx files
  -l, --limit <int>    the limit

Changelog

An extensive changelog is available here.

License

Copyright (c) 2019 - 2021 Paul Landes

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].