get_endpoint_content | R Documentation |
Fetch the content of a endpoint. Multiple branches can be given, the content returned will also include which was the valid branch.
get_endpoint_content(endpoint, branchs = c("master", "main"), token = "")
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. |
A named list with the branch name and the repo content
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.