Markus Däschler
6fde77ddf8
Merge remote-tracking branch 'remotes/github/master'
2022-03-05 20:05:23 +01:00
Peter Gardfjäll
c2a7bf92a0
bump version: 0.4.0
2021-05-09 08:18:47 +02:00
Peter Gardfjäll
33b8354867
support customizing the 'User-Agent' value
2021-05-09 08:09:38 +02:00
Peter Gardfjäll
cbe9e74704
bump dependency versions
...
This bumps urllib3 from 1.26.3 to 1.26.4 since 1.26.3 was flagged by dependabot.
2021-05-09 07:28:08 +02:00
Peter Gardfjäll
71bd0ed9b8
bump version: 0.2.0 -> 0.3.0
2021-02-25 11:21:54 +01:00
Peter Gardfjäll
b62e2ac1e5
include CSRF-token in auth and drop 'modern' prefix in paths ( #72 )
...
This fix is needed to address internal changes in the Garmin API, where service
endpoints that previously worked started returning 402 responses. Appears like
dropping the `modern` prefix from the endpoint paths fixes the issue.
Also, the authentication sequence has been updated to include a CSRF (Cross-Site
Request Forgery) token to closer mimic the behavior of the login sequence on the
official web page.
Co-authored-by: kfollesdal <kristoffer.follesdal@bkk.no>
2021-02-25 11:19:51 +01:00
Peter Gardfjäll
3886c314c9
bump version: v0.1.0 -> v0.2.0
2020-11-07 08:01:50 +01:00
fachleitner
9072333a3c
relax file name matching for downloaded fit files
...
Seems like Garmin has changed the naming scheme of `.fit` files within the zip download when getting the original activity.
The scheme used to be `{activity_id}.fit.` but has been changed to `{activity_id}_ACTIVITY.fit`. This commit relaxes the name comparison.
2020-11-07 07:58:22 +01:00
Dan Lenski
ec0b8e651d
gracefully handle duplicate and slow activity uploads
...
upload_activity: handle poll-and-wait for uploads that require long processing time
2020-10-07 06:01:57 +02:00
Carey Metcalfe
577f5ec3c1
Fix setting the activity name as the description
2020-10-05 06:45:32 +02:00
Peter Gardfjäll
3684ca0fb8
license badge
2020-04-11 15:15:59 +02:00
Peter Gardfjäll
88eac30e15
python version badge
2020-04-11 15:14:41 +02:00
Peter Gardfjäll
69dae3d94d
PyPi badge
2020-04-11 15:13:23 +02:00
Stanislav Khrapov
e0474057dd
Fix error in documentation about export_formats
argument type.
2020-04-11 15:05:55 +02:00
Peter Gardfjäll
73c1559ba5
setup.py: minor fix
2020-04-08 20:41:36 +02:00
Peter Gardfjäll
92024f7400
travis: use pipenv
2020-04-08 20:31:26 +02:00
Peter Gardfjäll
0c95e4f50f
drop support for (now sunset) Python 2
2020-04-08 20:29:29 +02:00
Peter Gardfjäll
3df00a89c9
call export_formats supported_export_formats
...
Co-authored-by: Stanislav Khrapov khrapovs@gmail.com
2020-04-08 20:25:16 +02:00
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
Markus Däschler
2cb8ae9b57
Added VS solution files
2020-01-17 14:45:43 +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