cyberjunky / python-garminconnect

Python 3 API wrapper for Garmin Connect to get activity statistics
MIT License
964 stars 149 forks source link

Batch download of a certain activity #131

Closed arozans closed 1 year ago

arozans commented 1 year ago

I know there is a method to download a sleep for a specific date. How about date ranges? Is it possible to query only one time and get sleep data for multiple days rather than query each day separately and risk HTTP 429 Too Many Requests?

matin commented 1 year ago

@arozans I'm currently fetching three years of sleep data with ten threads, and I've never run into issues like receiving a 429. Please make sure you're using version 0.2, and you shouldn't run into any issues.

cyberjunky commented 1 year ago

@arozans Is this still an issue with latest versions?

arozans commented 1 year ago

Let's close it for now, hasn't happened to me lately.