You should always look at the API docs before using the API. Here's GitHub's docs: [0].
>For API requests using Basic Authentication or OAuth, you can make up to 5,000 requests per hour.
>For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the user making requests.
[0] https://docs.github.com/en/free-pro-team@latest/rest/overvie...