Description Usage Arguments Value Examples
This function creates an R environment variable called fannieapi_key,
which is used by subsequent functions to make API calls.
| 1 | set_api_key(api_key)
 | 
| api_key | The API key or user token as a character. This can be obtained by from your account profile at https://developer.theexchange.fanniemae.com/. | 
Invisibly returns the the R environment variable fannieapi_key,
which is set as the api_key parameter in this function.
| 1 2 | set_api_key("abc123")
Sys.getenv("fannieapi_key")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.