Open sgowtham opened 1 year ago
Good idea, I'll think about it. BTW I didn't know you could export KML and CSV... ;-)
Why would you need a separate download for HRZ, they should already be in the JSON files and can be configured to be written to the CSV file
@pe-st Thank you :)
I am ok with not doing a separate call for HRZ info. I can parse the JSON and read it from there. Current set up (I believe you had helped a while ago when I first requested downloading HRZ info for each activity) on my local end is to keep the .hrz
file for symmetry reasons.
Greetings.
I am wondering if it's possible to download all files associated with an activity (e.g.,
csv
,fit
,gpx
,hrz
,json
,kml
andtcx
) from a single call ofgcexport.py
. Workflow would be something like defining a list within theexport_data_file
functionformatList = ['csv', 'gpx', 'kml', 'tcx', 'original', 'hrz']
and loop through
formatList
along the lines ofand the variables below are defined to be accessible by all functions in
gcexport.py
.As far as checking duplicates is concerned, the workflow could check for
csv
existence. If it exists, move on to the next activity. If it doesn't downloadcsv
and others.Thoughts? I will gladly help with testing and such.
My best, Gowtham (G)