append_exchangeratehost_access_key | R Documentation |
Retrieves exchangerate.host (forex) API key from R environment variables and appends to API call
append_exchangeratehost_access_key(url)
url |
A URL representing an API endpoint |
The input URL with API access key appended as a URL parameter
## Not run:
base_Url <- "https://api.exchangerate.host/latest?base=USD"
base_Url %>% append_exchangeratehost_access_key
# [1] "https://api.exchangerate.host/latest?base=USD&access_key=7e5e3140140bd8e4f4650cc41fc772c0"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.