rate_limit_check: Get Rate limit left for GitHub Calls

Description Usage Arguments Value Examples

View source: R/github_api.R

Description

The GitHub API limits the number of requests that can be sent within an hour. This function returns the stored rate limits that are remaining.

Usage

1
rate_limit_check(n = 10, quiet = FALSE)

Arguments

n

number of requests that triggers a warning indicating the user is close to the limit

quiet

should messages be returned when the rate limit is zero or less than n?

Value

return the number of calls are remaining as a numeric values

Examples

1

tidytuesdayR documentation built on Feb. 1, 2022, 9:07 a.m.