-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add an alternative option if API rate limit is reached #29
Comments
This is already part of RABBIT as an input option https://github.com/natarajan-chidambaram/RABBIT#:~:text=%2D%2Dincremental, which the user can specify if they want the results as soon as it is predicted. For multiple API keys option - either |
I haven't seen anything related to the ability to use multiple API keys. Did I miss something? Considering the first point (i): how to do that? Using CTRL+C? I've looked at the code, and it seems (see https://github.com/natarajan-chidambaram/RABBIT/blob/main/rabbit.py#L117) that you display some message to inform the user about rate limit reached... but you shouldn't do that on STDOUT but rather on STDERR, since if rabbit is in text mode, that means the output will also contain this message. |
Notice that, while it's convenient for a user to see a message when the rate limit is reached (so that he can either decide to wait or to stop with CTRL+C), this is not convenient when the tool is used in an automated way. Having the tool stopping itself automatically is a better option to automate its usage on thousands of accounts. |
Sorry for the confusion, the option of using multiple API keys was a proposal (should have mentioned this explicitly)
Sorry for the confusion, the option of using multiple API keys was a proposal (should have mentioned this explicitly) |
I don't want the tool to stop itself when the API rate limit is reached. If one wants to execute this tool overnight on thousands of contributors, this would be a problem. |
Having a
|
Hello,
Currently, according to https://github.com/natarajan-chidambaram/RABBIT/blob/main/rabbit.py#L24, if the API rate limit is reached, RABBIT waits until the quota replenishes. What about having a
--no-wait
option that makes RABBIT outputs all the already processed accounts and stops if the API rate limit is reached? (it will then be up to the user to compare the accounts in the input/output to see which ones were not yet processed, and to use RABBIT again on them). This will allow users to rely on multiple API keys.The text was updated successfully, but these errors were encountered: