Giter Club home page Giter Club logo

johannesh83 / garmin-connect-export Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moderation/garmin-connect-export

55.0 55.0 17.0 102 KB

Downloads gpx, tcx or original fit files from your Garmin Connect Account.

Home Page: https://www.johannesheinrich.de/posts/golden-cheetah-garmin-connect-script/

License: MIT License

Python 100.00%
command-line command-line-tool command-line-tools commandline fit garmin garmin-connect garmin-data gpx gpx-data gpx-files json json-parser python python-script script scripting scripts tcx terminal

garmin-connect-export's People

Contributors

angelakru avatar cmccarty avatar colmeirin avatar cpollet avatar johannesh83 avatar jowiho avatar kjkjava avatar moderation avatar pe-st avatar sclub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

garmin-connect-export's Issues

"An unexpected error has occurred" during login leads to exception

The login fails for me since a few days with the following exception:
raise Exception('Did not get a ticket in the login response. Cannot log in. Did you enter the correct username and password?')

I had a look at the result page and it said "An unexpected error has occurred"
Anyone else with the same problem?

Is gcexport currently working I am receiving an HTTP 404 error

I know garmin has made many changes over the years to their web pages and I am receiving a 404 error.

Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)>cd python27

C:\Program Files (x86)\Python27>python C:/users/russ/dropbox/garminconnectexports/gcexport.py -d C:/users/russ/dropbox/garminconnectexports/Russ/ -c "5" -f original -u --username "xxxx" --password "xxxxxxxxxxx"
Welcome to Garmin Connect Exporter!
Warning: Output directory already exists. Already downloaded files will be skipped.
Traceback (most recent call last):
File "C:/users/russ/dropbox/garminconnectexports/gcexport.py", line 99, in
hostname_url = http_req('http://connect.garmin.com/gauth/hostname')
File "C:/users/russ/dropbox/garminconnectexports/gcexport.py", line 78, in http_req
response = opener.open(request, data=post) # This line may throw a urllib2.HTTPError.
File "C:\Program Files (x86)\Python27\lib\urllib2.py", line 435, in open
response = meth(req, response)
File "C:\Program Files (x86)\Python27\lib\urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files (x86)\Python27\lib\urllib2.py", line 467, in error
result = self._call_chain(*args)
File "C:\Program Files (x86)\Python27\lib\urllib2.py", line 407, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\Python27\lib\urllib2.py", line 654, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "C:\Program Files (x86)\Python27\lib\urllib2.py", line 435, in open
response = meth(req, response)
File "C:\Program Files (x86)\Python27\lib\urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files (x86)\Python27\lib\urllib2.py", line 473, in error
return self._call_chain(*args)
File "C:\Program Files (x86)\Python27\lib\urllib2.py", line 407, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\Python27\lib\urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

C:\Program Files (x86)\Python27>

Appears to be broken

This appears to be broken - gives an error "did not get a ticket in the response"

try fetching all acitivities results in 404 Bad request

Trying to fetch all activities from Garmin Connect Account results in HTTP 404 error: Bad Request. Fetching only a given number of activities, say 100, works fine.

CLI:
python2 gcexport.py --username [email protected] --password MYPASS --count all

File "gcexport.py", line 347, in
result = http_req(url_gc_summary)
File "gcexport.py", line 83, in http_req
response = opener.open(request, data=post) # This line may throw a urllib2.HTTPError.
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 400: Bad Request

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.