Download a single file from GitHub, or get list of files
1 2 | github_download(repo, path = "/README.md", branch = "master",
auth_token = NULL, raw = FALSE, action = "download")
|
repo |
repository, specified as '"owner/repo"' |
path |
path to file |
branch |
git branch |
auth_token |
authentication token for GitHub private repositories |
raw |
return the raw response from GitHub |
action |
either 'download' or 'ls' (to list files) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.