=========================================== GITHUB API: Starting with RESTFUL API ===========================================
REFERENCE: https://docs.github.com/en/rest/guides/getting-started-with-the-rest-api
curl https://api.github.com/zen
Add -s (silent)
curl -s https://api.github.com/zen
Info about user defunkt
curl -s https://api.github.com/users/defunkt
knitr::knit_exit()
x-ratelimit-limit: 5000
endpoint=/status curl ${base}${endpoint}
exit
Contributors
is publiccollobrators
is privateColloboraters
(project manger) is privid and requires authorization.file <- "slide_curl_intro_github.Rmd" file <- normalizePath(file) file rmarkdown::render(file, output_dir="~/Downloads/print_and_delete")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.