-
Notifications
You must be signed in to change notification settings - Fork 52
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 helpers #67
Comments
Related to this, I think it would be helpful to have a simple E.g., avoid:
(Note there is a lack of newline here making the error message hard to read.) By using something like:
|
We could also resolve this by switching to httr2, since that has a helpers (https://httr2.r-lib.org/reference/req_retry.html and https://httr2.r-lib.org/reference/req_throttle.html) built in. |
And add rate limiting via new `.max_wait` argument. Fixes #67.
i.e. see how many requests you have left in the current period, and another function to automatically wait until you have another request
The text was updated successfully, but these errors were encountered: