get_endpoint_content: Fetch the content of a endpoint. Multiple branches can be...

View source: R/gather.R

get_endpoint_contentR Documentation

Fetch the content of a endpoint. Multiple branches can be given, the content returned will also include which was the valid branch.

Description

Fetch the content of a endpoint. Multiple branches can be given, the content returned will also include which was the valid branch.

Usage

get_endpoint_content(endpoint, branchs = c("master", "main"), token = "")

Arguments

endpoint

The github endpoint to search.

branchs

The branches to search. Defaults to main and master.

token

A github personal access token. Defaults to none.

Value

A named list with the branch name and the repo content


hexFinder documentation built on Feb. 16, 2023, 8:11 p.m.