Check value of X-RI
header before sending next request
#122
Labels
enhancement
New feature or request
X-RI
header before sending next request
#122
Issue
#120
Proposed solution
"The returned HTTP header X-Rl contains the number of requests remaining in the current rate limit window. X-Ttl contains the seconds until the limit is reset.
Your implementation should always check the value of the X-Rl header, and if its is 0 you must not send any more requests for the duration of X-Ttl in seconds." (source)
Headers:
X-Rl
: Number of requests remaining in current rate limit windowX-Ttl
: seconds until limit is resetSteps:
get_location()
The text was updated successfully, but these errors were encountered: