View source: R/gh_rate_limit.R
| gh_rate_limit | R Documentation |
gh_rate_limits() reports on all rate limits for the authenticated user.
gh_rate_limit() reports on rate limits for previous successful request.
Further details on GitHub's API rate limit policies are available at https://docs.github.com/v3/#rate-limiting.
gh_rate_limit(
response = NULL,
.token = NULL,
.api_url = NULL,
.send_headers = NULL
)
gh_rate_limits(.token = NULL, .api_url = NULL, .send_headers = NULL)
response |
|
.token |
Authentication token. Defaults to |
.api_url |
Github API url (default: https://api.github.com). Used
if |
.send_headers |
Named character vector of header field values
(except |
A list object containing the overall limit, remaining limit, and the
limit reset time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.