![]() _CONSUMER can be set manually prior to calling api.login() if someone wants to use a custom consumer key and secret. NOTE: We obtain the OAuth tokens using the consumer key and secret as the Connect app does. The login credentials generated with Garth are valid for a year to avoid needing to login each time. The library uses the same authentication method as the app using Garth. See Installation pip3 install garminconnect This package allows you to request garmin device, activity and health data from your Garmin Connect account. It fixes a lot of stability issues, so it's well worth the effort! About This requires minor changes to your login code, look at the code in example.py or the reference.ipynb file how to do that. NOTE: For developers using this packageįrom version 0.2.1 onwards, this package uses garth to authenticate and perform API calls. H - Get endurance score data from '' to '' Z - Get progress summary from '' to '' for all metricsĪ - Get gear, the defaults, activity types and statisticsį - Get virtual challenges/expeditions from '' to '' X - Get Heart Rate Variability data (HRV) for '' S - Upload activity data from file 'MY_ACTIVITY.fit' R - Get all kinds of activities data from '0' P - Download activities data by date from '' to '' N - Get activities data from start '0' and limit '100' M - Get non completed badge challenges data from '1' and limit '100' L - Get badge challenges data from '1' and limit '100' K - Get available badge challenges data from '1' and limit '100' J - Get adhoc challenges data from start '0' and limit '100' G - Get max metric data (like vo2MaxValue and fitnessAge) for '' Trying to login to Garmin Connect using token data from '~/.garminconnect'.Ĥ - Get activity data for '' (compatible with garminconnect-ha)ĥ - Get body composition data for '' (compatible with garminconnect-ha)Ħ - Get body composition data for from '' to '' (to be compatible with garminconnect-ha)ħ - Get stats and body composition data for '' *** Garmin Connect API Demo by cyberjunky ***
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |