stravalib.util.limiter.DefaultRateLimiter#
- class stravalib.util.limiter.DefaultRateLimiter(priority: Literal['low', 'medium', 'high'] = 'high')[source]#
Implements something similar to the default rate limit for Strava apps.
See https://developers.strava.com/docs/rate-limits/ and https://communityhub.strava.com/t5/developer-knowledge-base/our-developer-program/ta-p/8849.
Rate limits are enforced by throttling requests based on their method and client/app-specific limits imposed by Strava.