Skip to content

Rate limiting log #12

@williammizuta

Description

@williammizuta

There is a limit for API requests that depends on many factors.

For every API request, Github returns the following three data in HTTP headers :

  • X-RateLimit-Limit The maximum number of requests you're permitted to make per hour.
  • X-RateLimit-Remaining The number of requests remaining in the current rate limit window.
  • X-RateLimit-Reset The time at which the current rate limit window resets in UTC epoch seconds.

It should be nice if the lib could allow applications to log this information

Reference: https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions