Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limit headers #89

Closed
aharin opened this issue Feb 8, 2021 · 1 comment
Closed

Rate limit headers #89

aharin opened this issue Feb 8, 2021 · 1 comment

Comments

@aharin
Copy link

aharin commented Feb 8, 2021

Is there any way to access ratelimit-remaining and ratelimit-reset headers when api call throws a rate_limit_exceeded error?

@danwakefield
Copy link
Contributor

Hi, thanks for pointing out we are missing this ability.
We have made a change so that the response object is now included in the exception.
This should allow you to access the headers you need.

This will be in v1.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants