-
I know there is a way to get Limit object "detail" to get the limitations per second, minute, hour etc. However it would be nice to just have the 'Retry-After-Seconds' in the exception header, so you don't need to do any conversions. This feature is very useful for usage of the api. Could it be possible to add this feature to the project, or maybe I have overlooked this feature somewhere? |
Beta Was this translation helpful? Give feedback.
Answered by
Ivareh
Sep 19, 2024
Replies: 1 comment
-
I found it, the solution to is retrieving this from the RateLimitExceeded exception: exc.limit.limit.get_expiry() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Ivareh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found it, the solution to is retrieving this from the RateLimitExceeded exception:
exc.limit.limit.get_expiry()