Skip to content
This repository was archived by the owner on Mar 29, 2022. It is now read-only.
This repository was archived by the owner on Mar 29, 2022. It is now read-only.

Handle ratelimits #1

Description

@halfpastfouram

It is possible that a script has so many things to do that there must be a lot of communication with the reddit api. Only 60 requests per minute are allowed by the reddit api.

The reddit api sends response headers with information about the amount of requests per minute:

Response header Description
X-Ratelimit-Used Approximate number of requests used in this period
X-Ratelimit-Remaining Approximate number of requests left to use
X-Ratelimit-Reset Approximate number of seconds to end of period

These response headers should be used by the API to handle the ratelimit correctly.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions