-   List or Create **Github Gist**


To obtain my gists (only)
```{zsh}
export token=$(Rscript -e "cat(Sys.getenv('GITHUB_PAT'))")

curl -s \
  -H "Authorization: token $token" \
  -H "Accept: application/vnd.github.v3+json" \
  https://api.github.com/gists \
  | head -n 30

{
file <- "slide_restful_examples.Rmd"
file  <- normalizePath(file)
file
}
rmarkdown::render(file)
rmarkdown::render(file, output_dir="~/Downloads/print_and_delete")


jimrothstein/youtube_api documentation built on Nov. 6, 2022, 7:26 a.m.