Skip to content
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

Converted to Python 3, added csvonly data format #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

v01dma1n
Copy link

Hi,
Thanks a bunch for the script!
To adapt it to my needs, I added 'csvonly' data format value, which suppresses downloading GPX data and retrieves activities to CSV file only.
While doing this, I converted the script to Python 3.
Irek

@kjkjava
Copy link
Owner

kjkjava commented Sep 24, 2015

Hi Irek,

Thanks for the contribution! Do you know if these Python 3 changes will still work the same under Python 2.7?

Thanks,
Kyle

@v01dma1n
Copy link
Author

Not a Python buff... Sorry... duno.

@v01dma1n
Copy link
Author

v01dma1n commented Oct 1, 2015

Did some reading about this whole Python 2 vs. Python 3 story and the change for 'csvonly' does not rely on anything Python 3 specific.
On the other hand, I liked the changes proposed by lefty01 related to using argparse.
So, if you decide to merge his changes, could you remember about 'csvonly'?
Thanks a bunch again!

@djacobson
Copy link

djacobson commented May 18, 2018

Just a note, I really like this example. I discovered that Garmin has changed their download URLs (yes, again) to the following format:

'http://connect.garmin.com/modern/proxy/download-service/export/gpx/activity/{0}'
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants