kjkjava / garmin-connect-export

Download a copy of your Garmin Connect data, including stats and GPX tracks.
MIT License
319 stars 134 forks source link

possible to export daily sleep data? #20

Open ck-on opened 8 years ago

ck-on commented 8 years ago

Garmin makes sleep data (part of the "daily summary") available for export as a zipped fit file.

Would it be possible to make this script also backup that data?

The url garmin connect fetches from is

https://connect.garmin.com/modern/proxy/download-service/files/wellness/2016-08-28

I guess I could make a second copy of the script, edit the variable url_gc_original_activity and change /activity/ to /wellness/ and it might work

endafarrell commented 7 years ago

+1: I too would like this data.

santekotturi commented 6 years ago

@ck-on did your approach work for you?

ibury08 commented 5 years ago

@ck-on I think this repo currently only parse .gpx and .csv file formats. As you saw, the summary export where sleep data is available is only as .fit files. Maybe this package can be incorporated into this tool: https://github.com/dtcooper/python-fitparse