Looks like hey've switched to a different authentication service. Looking at it, but I don't have any clues at the moment.
Welcome any input.
I'm still pretty new with Python and this one looks to be out of my league. I'm not sure if urllib is going to cut it, may need to use something more browser-like to get the proper response from the URL. Maybe Selenium/Webdriver with PhantomJS - I can't find anything simple.
Other suggestions say to use the Chrome developer tools to see what exactly is being sent by the browser. I'll keep poking around and let you know if I get anywhere.
I'm well beyond my expertise. Looks like there are a ton of changes coming to Garmin Connect. They may discontinue all of their old APIs.
Thanks for this awesome app. I use another app to cross upload my Garmin data to other applications. His approach to the new authentication Garmin is doing is outlined in his Git repo. Particularly this commit ( https://github.com/cpfair/tapiriik/commit/1604a1c791def072a48f3165dd61d5136f3610ce ). Hopefully this helps!
Excellent! Thanks for the tip, Brandon.
Okay, I've got something working based on Brandon's tip (thanks again, Brandon). I've been able to successfully upload a few files.
I need to do a little more work and do some more testing. I also need to figure out how to properly attribute the code since I borrowed heavily from the tapiriik code.
Tried looking, but didn't find: do you have an unstable git repo or some such?
New package uploaded to pypi.
If you installed using pip the following will upgrade your package:
sudo pip install GcpUploader --upgrade
...or you can download and install the tar file from https://pypi.python.org/pypi/GcpUploader
I'm in the process of checking things into the SourceForge repo if you got it from there.
This was a major overhaul of my UploadGarmin.py module. It is not heavily tested. Let me know if you see problems.
The new 20140301 file upload to SourceForge seems to be in a perpetual 'Pending' state. Use the pypi link above to grab the tar.gz file if you need it until SF gets things worked out.