stravalib.util.limiter.DefaultRateLimiter#
- class stravalib.util.limiter.DefaultRateLimiter[source]#
Implements something similar to the default rate limit for Strava apps.
To do this correctly we would actually need to change our logic to reset the limit at midnight, etc. Will make this more complex in the future.
Strava API usage is limited on a per-application basis using a short term, 15 minute, limit and a long term, daily, limit. The default rate limit allows 600 requests every 15 minutes, with up to 30,000 requests per day.
- __init__()[source]#
Strava API usage is limited on a per-application basis using a short term, 15 minute, limit and a long term, daily, limit. The default rate limit allows 600 requests every 15 minutes, with up to 30,000 requests per day. This limit allows applications to make 40 requests per minute for about half the day.
Methods
__init__()Strava API usage is limited on a per-application basis using a short term, 15 minute, limit and a long term, daily, limit.