Skip to content

Add authentication to increase GitHub API limit #15

@joelittlejohn

Description

@joelittlejohn

GitHub imposes a limit of 60 unauthenticated requests per hour. This is really easy to hit when using grip, especially if you're doing other things using the API at the same time. Once your reach this limit, grip no longer functions (you see an error message about rate limiting when you try to render a page).

I'd like to add options to grip to specify GitHub username and password so that grip can perform Basic auth in renderer.py. This bumps the limit to 5000 requests/hour which should be enough for anyone :)

Any thoughts on this change?

I guess I see these being new command line options.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions