-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backport changes from moderation and pe-st to kjkjava #42
Commits on Oct 16, 2015
-
JSON format does not download any file, but saves all the metadata received about activities in a .json file.
Configuration menu - View commit details
-
Copy full SHA for 7b0fcc7 - Browse repository at this point
Copy the full SHA 7b0fcc7View commit details
Commits on Feb 21, 2016
-
Fix elevation, get additional data like cadence, heart rate, elevatio…
…ns, formatting changes for input to Google Spreadsheets.
Configuration menu - View commit details
-
Copy full SHA for a147b09 - Browse repository at this point
Copy the full SHA a147b09View commit details
Commits on Aug 31, 2016
-
Huge refactor after Garmin deprecated old APIs and modified login and…
… authentication requirements.
Configuration menu - View commit details
-
Copy full SHA for 1493604 - Browse repository at this point
Copy the full SHA 1493604View commit details
Commits on Sep 7, 2016
-
Configuration menu - View commit details
-
Copy full SHA for ceec54b - Browse repository at this point
Copy the full SHA ceec54bView commit details
Commits on Sep 8, 2016
-
Merge pull request #1 from cmccarty/master
Fixed keyError when parsing totalFound results
Configuration menu - View commit details
-
Copy full SHA for 20d4171 - Browse repository at this point
Copy the full SHA 20d4171View commit details
Commits on Oct 19, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 9d2a62b - Browse repository at this point
Copy the full SHA 9d2a62bView commit details
Commits on Nov 30, 2016
-
Configuration menu - View commit details
-
Copy full SHA for c21bbb7 - Browse repository at this point
Copy the full SHA c21bbb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1d3a34 - Browse repository at this point
Copy the full SHA f1d3a34View commit details
Commits on Jan 23, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 64c0ff1 - Browse repository at this point
Copy the full SHA 64c0ff1View commit details
Commits on Feb 11, 2017
-
Fix download URLs to point to modern proxy so TCX/GPX download works.
Use HTTPS for download
Configuration menu - View commit details
-
Copy full SHA for 737a5b9 - Browse repository at this point
Copy the full SHA 737a5b9View commit details
Commits on Jun 12, 2017
-
Merge pull request #2 from julienr/fix_download_urls
Fix download URLs to point to modern proxy so TCX/GPX download works.
Configuration menu - View commit details
-
Copy full SHA for bb97890 - Browse repository at this point
Copy the full SHA bb97890View commit details
Commits on Jun 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 404165f - Browse repository at this point
Copy the full SHA 404165fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 089f140 - Browse repository at this point
Copy the full SHA 089f140View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dcbe0a - Browse repository at this point
Copy the full SHA 1dcbe0aView commit details
Commits on Sep 22, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 23e2aaa - Browse repository at this point
Copy the full SHA 23e2aaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5112258 - Browse repository at this point
Copy the full SHA 5112258View commit details
Commits on Mar 6, 2018
-
Use
limit_maximum
instead of magic numberReduce maximum to 19, as everything bigger gets a 500 status: Making activity request ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://connect.garmin.com/proxy/activity-search-service-1.2/json/activities?start=0&limit=1 Finished activity request ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Garmin Connect activity: [NNNNNNNNNN] (activity name) Tue, 6 Mar 2018 10:23, 00:57:44, 11.20 Kilometers https://connect.garmin.com/modern/proxy/download-service/export/gpx/activity/NNNNNNNNNN?full=true Downloading file... Done. GPX data saved. Making activity request ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://connect.garmin.com/proxy/activity-search-service-1.2/json/activities?start=1&limit=20 Traceback (most recent call last): File "./gcexport.py", line 284, in <module> result = http_req(url_gc_search + urlencode(search_params)) File "./gcexport.py", line 82, in http_req ... File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 500: Internal Server Error
Configuration menu - View commit details
-
Copy full SHA for 33bb855 - Browse repository at this point
Copy the full SHA 33bb855View commit details -
Merge pull request #6 from pe-st/feature/limit_maximum
Use `limit_maximum` instead of magic number
Configuration menu - View commit details
-
Copy full SHA for 5ede66c - Browse repository at this point
Copy the full SHA 5ede66cView commit details
Commits on Mar 7, 2018
-
Start using a different endpoint for the list
The old endpoint ('activity-search-service-1.2') doesn't seem to work anymore for more than 20 activities, but is still useful for the result summary (total numbers of activities) The new endpoint ('activitylist-service') has an almost completely different JSON output, which hasn't been adapted yet.
Configuration menu - View commit details
-
Copy full SHA for d357e74 - Browse repository at this point
Copy the full SHA d357e74View commit details
Commits on Mar 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 884ec4e - Browse repository at this point
Copy the full SHA 884ec4eView commit details
Commits on Mar 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 5381a9a - Browse repository at this point
Copy the full SHA 5381a9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc2f3b6 - Browse repository at this point
Copy the full SHA bc2f3b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a28a2c0 - Browse repository at this point
Copy the full SHA a28a2c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c79f7f - Browse repository at this point
Copy the full SHA 0c79f7fView commit details
Commits on Mar 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 73bb28d - Browse repository at this point
Copy the full SHA 73bb28dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c5c0e1 - Browse repository at this point
Copy the full SHA 5c5c0e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for edfdd01 - Browse repository at this point
Copy the full SHA edfdd01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37a8332 - Browse repository at this point
Copy the full SHA 37a8332View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ca1f02 - Browse repository at this point
Copy the full SHA 6ca1f02View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9e4442 - Browse repository at this point
Copy the full SHA c9e4442View commit details
Commits on Mar 11, 2018
-
Write empty GPX file when there's no GPS data
No GPS data is indicated by HTTP status 204 (no content) (reapplying commit 404165f to current state)
Configuration menu - View commit details
-
Copy full SHA for 10afedd - Browse repository at this point
Copy the full SHA 10afeddView commit details
Commits on Mar 21, 2018
-
Merge pull request #8 from pe-st/feature/gpx-http-204
Write empty GPX file when there's no GPS data
Configuration menu - View commit details
-
Copy full SHA for 71dc1dd - Browse repository at this point
Copy the full SHA 71dc1ddView commit details
Commits on Mar 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c50a5b0 - Browse repository at this point
Copy the full SHA c50a5b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89f9a37 - Browse repository at this point
Copy the full SHA 89f9a37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2617e5b - Browse repository at this point
Copy the full SHA 2617e5bView commit details
Commits on Mar 29, 2018
-
This an adaptation of commit 7b0fcc7 to the refactored code
Configuration menu - View commit details
-
Copy full SHA for ad4c31e - Browse repository at this point
Copy the full SHA ad4c31eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e37d18 - Browse repository at this point
Copy the full SHA 2e37d18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 234c229 - Browse repository at this point
Copy the full SHA 234c229View commit details -
Configuration menu - View commit details
-
Copy full SHA for f59908d - Browse repository at this point
Copy the full SHA f59908dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 058c313 - Browse repository at this point
Copy the full SHA 058c313View commit details
Commits on Mar 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a61dee1 - Browse repository at this point
Copy the full SHA a61dee1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07888be - Browse repository at this point
Copy the full SHA 07888beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30ae465 - Browse repository at this point
Copy the full SHA 30ae465View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fc9b00 - Browse repository at this point
Copy the full SHA 6fc9b00View commit details -
Restore more, use different timestamp format
- restored order for a dozen or so columns - timestamp format is almost RFC1123 as used by Garmin
Configuration menu - View commit details
-
Copy full SHA for ee44a09 - Browse repository at this point
Copy the full SHA ee44a09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2522e1f - Browse repository at this point
Copy the full SHA 2522e1fView commit details -
Add activity detail example file corresponding to the other examples
Configuration menu - View commit details
-
Copy full SHA for 1f998e4 - Browse repository at this point
Copy the full SHA 1f998e4View commit details
Commits on Mar 31, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e04411a - Browse repository at this point
Copy the full SHA e04411aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68a8fd3 - Browse repository at this point
Copy the full SHA 68a8fd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d08b8a0 - Browse repository at this point
Copy the full SHA d08b8a0View commit details -
Truncate decimal degrees to 6 decimal places
6 decimal places corresponds to a precision of 4 to 11 cm, way enough
Configuration menu - View commit details
-
Copy full SHA for ca5ed7d - Browse repository at this point
Copy the full SHA ca5ed7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28aab69 - Browse repository at this point
Copy the full SHA 28aab69View commit details -
Configuration menu - View commit details
-
Copy full SHA for c74eacc - Browse repository at this point
Copy the full SHA c74eaccView commit details
Commits on Apr 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7dde755 - Browse repository at this point
Copy the full SHA 7dde755View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99b05bd - Browse repository at this point
Copy the full SHA 99b05bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed0b814 - Browse repository at this point
Copy the full SHA ed0b814View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40bd7c4 - Browse repository at this point
Copy the full SHA 40bd7c4View commit details
Commits on Apr 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 2ae4182 - Browse repository at this point
Copy the full SHA 2ae4182View commit details -
Configuration menu - View commit details
-
Copy full SHA for 964c06e - Browse repository at this point
Copy the full SHA 964c06eView commit details -
Remove superfluous last comma in CSV lines
Cleanup also other stuff like unneeded quote escaping for columns that will never see a quote, etc.
Configuration menu - View commit details
-
Copy full SHA for 70ccd76 - Browse repository at this point
Copy the full SHA 70ccd76View commit details -
no point in using a float with one decimal place
Configuration menu - View commit details
-
Copy full SHA for 93c80db - Browse repository at this point
Copy the full SHA 93c80dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6161a0 - Browse repository at this point
Copy the full SHA f6161a0View commit details
Commits on Apr 3, 2018
-
Use an almost RFC1123 timestamp format
This format is almost the same that Garmin used in the activity-search-service
Configuration menu - View commit details
-
Copy full SHA for 3d448e7 - Browse repository at this point
Copy the full SHA 3d448e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69c0a2b - Browse repository at this point
Copy the full SHA 69c0a2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 637ea52 - Browse repository at this point
Copy the full SHA 637ea52View commit details
Commits on Apr 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 3ebd77b - Browse repository at this point
Copy the full SHA 3ebd77bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 363f619 - Browse repository at this point
Copy the full SHA 363f619View commit details -
Remove superfluous last comma in CSV lines
Cleanup also other stuff like unneeded quote escaping for columns that will never see a quote, etc.
Configuration menu - View commit details
-
Copy full SHA for 87aadb9 - Browse repository at this point
Copy the full SHA 87aadb9View commit details
Commits on Apr 5, 2018
-
Use integers for HR, calories from detail
no point in using a float with one decimal place for heart rate
Configuration menu - View commit details
-
Copy full SHA for 0b8052d - Browse repository at this point
Copy the full SHA 0b8052dView commit details
Commits on Apr 6, 2018
-
Change the login to Garmin Connect
The ticket is now extracted from the login response. The cookies are not needed anymore, as well as the voodoo calls to modern and legacy session. For the post_auth call I chose just an URL that worked when analyzing the HTTP traffic in the browser, maybe there are better ones (with less payload)? Issue moderation/garmin-connect-export#10
Configuration menu - View commit details
-
Copy full SHA for af7a522 - Browse repository at this point
Copy the full SHA af7a522View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f249eb - Browse repository at this point
Copy the full SHA 6f249ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f81ebc - Browse repository at this point
Copy the full SHA 5f81ebcView commit details
Commits on Apr 7, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0334d14 - Browse repository at this point
Copy the full SHA 0334d14View commit details -
The detail contains also average and max temperature
Configuration menu - View commit details
-
Copy full SHA for 76742af - Browse repository at this point
Copy the full SHA 76742afView commit details
Commits on Apr 8, 2018
-
Pretty-print activity and event types
The 'pretty' names come from a dictionary retrieved by separate REST calls
Configuration menu - View commit details
-
Copy full SHA for 9561714 - Browse repository at this point
Copy the full SHA 9561714View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d00e4b - Browse repository at this point
Copy the full SHA 7d00e4bView commit details
Commits on Apr 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for eabf3bd - Browse repository at this point
Copy the full SHA eabf3bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0551bdf - Browse repository at this point
Copy the full SHA 0551bdfView commit details -
Pretty-print activity and event types
The 'pretty' names come from a dictionary retrieved by separate REST calls
Configuration menu - View commit details
-
Copy full SHA for a3abd70 - Browse repository at this point
Copy the full SHA a3abd70View commit details