http://www.opensecrets.org/api/?method=getLegislators&id=NJ&apikey=__apikey
```{zsh, foo1="whatever"} export token=$(Rscript -e "cat(Sys.getenv('OS_API_KEY'))") export endpoint="http://www.opensecrets.org/api/?method=getLegislators&id=NJ&apikey=" echo $endpoint$token
```r file <- "/home/jim/code/youtube_api/TALK/CURL/004_curl_opensecrets.Rmd" rmarkdown::render(file, output_format="pdf_document")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.