get_rate_limit: Get current Github API rate limit

Description Usage Arguments Details Value Examples

View source: R/get_rate_limit.R

Description

Get the current Github API rate limit with time to reset in minutes

Usage

1
get_rate_limit(gh_pat = NULL)

Arguments

gh_pat

character, github pat Default: NULL

Details

using this will not count against the rate limit

Value

tibble

Examples

1
2
3
get_rate_limit()

get_rate_limit(gh_pat = Sys.getenv('GITHUB_PAT'))

yonicd/ghnet documentation built on May 7, 2019, 9:35 a.m.