github_api: Hit the GitHub API

View source: R/github_api.R

github_apiR Documentation

Hit the GitHub API

Description

Hit the GitHub API

Usage

github_api(path)

Arguments

path

String of the endpoint destination

Author(s)

Stu Field

Examples

# My GitHub user account
tryCatch(github_api("/users/stufield"), error = function(e) e)

# This package repo
tryCatch(github_api("/repos/stufield/TestPkg"), error = function(e) e)

stufield/TestPkg documentation built on Jan. 26, 2023, 10:48 p.m.