Skip to contents

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