gh_repo_wrapper: Wrapper function for gh repository calls

View source: R/github.R

gh_repo_wrapperR Documentation

Wrapper function for gh repository calls

Description

This is a function that wraps up gh calls for us

Usage

gh_repo_wrapper(api_call, owner, repo, token = NULL, count = 1e+05)

Arguments

api_call

an API call and endpoint. That has 'owner' and 'user'.

owner

The repository name. So for 'https://github.com/fhdsl/metricminer', it would be 'fhdsl'

repo

The repository name. So for 'https://github.com/fhdsl/metricminer', it would be 'metricminer'

token

You can provide the Personal Access Token key directly or this function will attempt to grab a PAT that was stored using the 'authorize("github")' function

count

How many items would you like to receive? default is 100000

Value

Metrics for a repository on GitHub


metricminer documentation built on April 4, 2025, 2:41 a.m.