Closed abaheti95 closed 4 years ago
Since Botometer's ratelimits reflect those of Twitter, you can handle ratelimiting via the underlying Tweepy library. You have two choices:
RateLimitError
and handle it appropriately.wait_on_ratelimit=True
in the Botometer constructor, as shown in the README:
bom = botometer.Botometer(wait_on_ratelimit=True,
rapidapi_key=rapidapi_key,
**twitter_app_auth)
If you use a single Botometer Pro account with a single set of Twitter keys, you shouldn't ever have an issue with overage charges on RapidAPI.
What if I plan to use muliple twitter keys with the same RapidAPI key. How can I stop for overshooting in that scenario?
Is there any way to know how much of the daily quota I have used while running a code? Can I automatically wait until the next day when the API refreshes the quota limit? How and when is this limit refreshed?