https://developer.nytimes.com/apis https://api.nytimes.com/svc/mostpopular/v2/emailed/{period}.json
# nyt_app_id # nyt_secret # nyt_key # ```{zsh} export nyt_key=$(Rscript -e "cat(Sys.getenv('nyt_key'))") endpoint=https://api.nytimes.com/svc/mostpopular/v2/emailed/1.json curl -s -d "api-key=$nyt_key" -G $endpoint
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.