rate_limit_check: Get Rate limit left for GitHub Calls

View source: R/github_api.R

rate_limit_checkR Documentation

Get Rate limit left for GitHub Calls

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

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


rate_limit_check()


thebioengineer/tidytuesdayR documentation built on Jan. 11, 2024, 4:42 a.m.