Learn R Programming

hexFinder (version 0.8.2)

get_endpoint_content: 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 = "")

Value

A named list with the branch name and the repo content

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.