Peter Gardfjäll
f2225bb3b3
README: update with new script names and pipenv use
2020-04-08 20:25:16 +02:00
Peter Gardfjäll
94872ae543
switch from requirements.txt to pipenv/Pipfile
2020-04-08 20:25:16 +02:00
Peter Gardfjäll
e7fc7e970a
setup.py: remove unused dependency on future and make requests dependency looser
2020-04-08 20:25:16 +02:00
Peter Gardfjäll
d3f8819dc7
update setup.py in preparation for PyPi release
2020-04-08 20:25:08 +02:00
Peter Gardfjäll
bcb02afbb3
update gitignore
2020-04-07 20:40:00 +02:00
Peter Gardfjäll
a0d6163c52
move all executable scripts under garminexport.cli
2020-04-07 20:38:22 +02:00
Peter Gardfjäll
54dad23e1c
enable travis CI builds
...
Co-authored-by: Stanislav Khrapov khrapovs@gmail.com
2020-04-07 14:24:55 +02:00
Peter Gardfjäll
f0548d2928
add missing ignore_errors argument in call to incremental_backup
...
Co-authored-by: Stanislav Khrapov khrapovs@gmail.com
2020-04-07 14:15:30 +02:00
Peter Gardfjäll
c00ccd3887
Simplify log statements.
...
Make use of format specifiers in the logging library rather than relying on
string.format(), which makes log output unnecessarily verbose.
2020-04-07 12:49:44 +02:00
Stanislav Khrapov
4ee0cda314
cosmetic code cleanup
...
Co-authored-by: Stanislav Khrapov <stanislav.khrapov@dbschenker.com>
2020-03-08 20:05:56 +01:00
Stanislav Khrapov
8cd27fcb19
Refactor main script logic into an incremental_backup library function
...
The overall intent is to make it easier for third-party clients to implement incremental backups as simple function calls to the garminexport library, rather than executing the garminbackup.py script.
Co-authored-by: Stanislav Khrapov <stanislav.khrapov@dbschenker.com>
2020-03-08 17:19:19 +01:00
Peter Gardfjäll
847cb84a94
README: format descriptions in smaller font size
2019-10-12 08:29:28 +02:00
petergardfjall
41f8701c06
README: format descriptions in smaller font size
2019-10-12 08:27:24 +02:00
petergardfjall
c02e23fb3e
README: add format descriptions
2019-10-12 08:24:13 +02:00
Peter Gardfjäll
900584ba67
Merge pull request #34 from cwygoda/patch/relax-dependencies
...
Relax dependencies on minor level
2019-04-27 08:01:53 +02:00
Christian Wygoda
cf1b265b75
Relax dependencies on minor level
2019-04-25 01:15:37 +02:00
Peter Gardfjäll
94eb8f4e13
Merge pull request #33 from cwygoda/patch/relax-dependencies
...
Relax dependency version to use compatible releases
2019-04-24 20:19:01 +02:00
Christian Wygoda
4934ab3fe3
Relax dependency version to use compatible releases
2019-04-23 21:27:06 +02:00
petergardfjall
beeb052b36
garmin login endpoint has changed
2019-04-16 20:04:18 +02:00
petergardfjall
c8d1958d07
requests version upgrade: 2.9.1 -> 2.21.0
2019-02-05 14:30:21 +01:00
petergardfjall
95269f10e5
README: no tabs
2019-02-05 14:30:06 +01:00
petergardfjall
2e3597a8d6
updated to change activity details endpoint (garmin retired the previous one)
2019-02-05 14:27:54 +01:00
petergardfjall
2c9ed99087
update to README and Makefile to support both Python 2 and 3
2018-09-01 08:50:54 +02:00
petergardfjall
825c4fcb8a
Merge branch 'cwygoda-python_2_3'
2018-09-01 08:43:57 +02:00
petergardfjall
d79232af41
Merge branch 'python_2_3' of https://github.com/cwygoda/garminexport into cwygoda-python_2_3
2018-09-01 08:39:56 +02:00
petergardfjall
ed32d335ad
updated get_activity code to make use of a Retryer
2018-08-30 19:58:53 +02:00
petergardfjall
01a08e14ab
trying to download a .fit file for an activity without one now appears to result in a 500 response (although a 404 would seem more appropriate..)
2018-08-30 19:51:25 +02:00
Christian Wygoda
856adada79
Make code compatible with Python 2.6+ and Python 3
2018-06-06 22:41:03 +02:00
petergardfjall
769d02b2a2
Fix for #21
...
- Activity listing endpoint no longer appears to work: switched from https://connect.garmin.com/proxy/activity-search-service-1.2/json/activities to https://connect.garmin.com/modern/proxy/activitylist-service/activities/search/activities .
- Activity details json endpoint no longer appears to work: switched from https://connect.garmin.com/modern/proxy/activity-service-1.3/json/activity_embed/ <id> to https://connect.garmin.com/modern/proxy/activity-service/activity/ <id>.
2018-04-02 09:25:31 +02:00
Peter Gardfjäll
186fa4ac7b
Merge pull request #22 from dlenski/fix_and_improve_upload
...
Fix and improve upload (round 2)
2018-04-01 17:15:18 +02:00
Daniel Lenski
34c7a823ad
allow overriding activity type from CLI
2018-03-28 15:41:43 -07:00
Daniel Lenski
eec4dcf1de
Garmin changed the endpoint for setting metadata
...
Cribbed from cpfair/tapiriik:
e685dce36f
2018-03-28 15:41:43 -07:00
petergardfjall
d0aeabae6d
add --max-retries option to support retrying failed downloads with exponential backoff
2018-02-26 21:35:41 +01:00
Peter Gardfjäll
8d62829e6d
Merge pull request #17 from dlenski/fix_and_improve_upload
...
Fix and improve upload
2017-12-22 11:21:27 +01:00
Daniel Lenski
31974b0bf0
allow upload of multiple activity files, and improve error handling
2017-12-21 16:11:21 -08:00
Daniel Lenski
d410a7c212
Garmin changed the upload endpoint and added some random headers
...
Cribbed from cpfair/tapiriik:
51226cc012
2017-12-21 16:09:37 -08:00
petergardfjall
aaed3f44bb
adapted to new authentication procedure
2017-05-14 08:54:23 +02:00
petergardfjall
ef9b875465
Merge branch 'sdonk-master'
2017-03-07 19:47:11 +01:00
Alessandro De Noia
7d412c62ae
attempt to download gpx for activity without device data may give 204 response
2017-03-07 19:45:42 +01:00
petergardfjall
93d27057dc
updated authentication procedure
2016-12-14 20:24:12 +01:00
petergardfjall
16c8a74790
#10 : activity json summary endpoint is retired
2016-11-07 19:21:46 +01:00
petergardfjall
c8bb336d42
clean auth ticket validation url of backslashes
2016-09-17 21:27:56 +02:00
petergardfjall
7bfc82af75
added a step to the login sequence (needed to grant access to certain api services) and also updated some service URLs that had been retired
2016-09-02 19:44:03 +02:00
petergardfjall
112666f0f9
used a retired version of the tcx download service
2016-08-08 20:38:03 +02:00
petergardfjall
44d58f0e93
login procedure more true to original and fix for broken .fit downloads
2016-04-14 22:00:57 +02:00
petergardfjall
d6cad6736f
merging changes by dlenski
2015-08-27 19:18:26 +02:00
Peter Gardfjäll
e25cd38ea6
Merge pull request #4 from dlenski/pr
...
add upload_activity client method and upload_activity.py example
2015-08-27 19:11:29 +02:00
Dan Lenski
c5feaf86c2
add upload_activity client method and upload_activity.py example
2015-08-10 12:41:33 -07:00
petergardfjall
c91568d302
Merge branch 'master' of https://github.com/petergardfjall/garminexport
2015-03-30 19:40:38 +02:00
petergardfjall
d231be1aad
fixed authentication issue
2015-03-30 19:40:14 +02:00