Limiter - in Utility Submodule: Functions and Classes#
This module provides a mixture of helpers to support rate limiting and also functions for conversion?
Summary Functions#
|
Returns a namedtuple with values for short - and long usage and limit rates found in provided HTTP response headers |
Returns the number of seconds until the next quarter of an hour. |
|
|
Returns the number of seconds until the next day (utc midnight). |
Summary Classes#
|
A rate limit rule that can be prioritized and can dynamically adapt its limits based on API responses. |
|
Implements something similar to the default rate limit for Strava apps. |
|
Tuple containing request usage and usage limit. |