Skip to content

Implement Wait when reached 0 resource available in OAuthSettings #12

Closed

Description

@mkellerman
No description provided.

Activity

  1. added
    enhancement
    help wanted
    on Jan 26, 2019
  2. kilasuit commented on Feb 3, 2019

    @kilasuit

    @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

  3. mkellerman commented on Feb 3, 2019

    @mkellerman
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions