You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement Wait when reached 0 resource available in OAuthSettings #12
@mkellerman - Can you add a description to summarise what the gain would be from this? As right now this has zero context and that doesn't help in understanding the need
Each endpoint has a RateLimit (ex: /statuses/lookup = 900 requests per 15 minutes).
Currently, with each request, I check the rate limit (stored in a script variable). I want there to be a -Wait behavior that forces the request to simply wait until it it can process the endpoint without getting an error from the Twitter API.
Activity
kilasuit commentedon Feb 3, 2019
@mkellerman - Can you add a description to summarise what the gain would be from this? As right now this has zero context and that doesn't help in understanding the need
mkellerman commentedon Feb 3, 2019
Each endpoint has a RateLimit (ex: /statuses/lookup = 900 requests per 15 minutes).
Currently, with each request, I check the rate limit (stored in a script variable). I want there to be a -Wait behavior that forces the request to simply wait until it it can process the endpoint without getting an error from the Twitter API.
You can read up more about it here:
https://developer.twitter.com/en/docs/developer-utilities/rate-limit-status/api-reference/get-application-rate_limit_status
Once solution (that is already implemented) is to add multiple OAuthSettings, so the request cycles through them until it depletes them.