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

Make sure the rate limit decorator works appropriately for the new monthly tweet cap #391

Open
SamHames opened this issue Feb 23, 2021 · 3 comments
Labels

Comments

@SamHames
Copy link
Contributor

No description provided.

@igorbrigadir
Copy link
Contributor

Annoyingly, there is no API endpoint for this limit to query it - it's only in the dashboard as far as i know - hopefully they add it somewhere

@SamHames SamHames added the v2 label Mar 2, 2021
@igorbrigadir igorbrigadir mentioned this issue Mar 5, 2021
@SamHames
Copy link
Contributor Author

If there's no way to query for this through the API or headers, that's a bit of a shame. I'm assuming it raises a 429 still, not some other weird status code?

If it does raise a 429, and we don't have a rate-limit related reason in the headers, can we always assume it's a tweet cap limit? And presumably exit immediately because most things are just going to fail after that?

@igorbrigadir
Copy link
Contributor

Yeah - I'm on Standard and I haven't hit my monthly limit yet - but i'll be sure to test this out!

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

No branches or pull requests

2 participants