fmp_set_api_key {fmpapi} | R Documentation |
Set the Financial Modeling Prep API key
Description
This function prompts the user to input their Financial Modeling Prep (FMP)
API key and saves it to a .Renviron
file, either in the project directory
or the home directory. It also gives the user the option to add .Renviron
to .gitignore
for security purposes.
Usage
fmp_set_api_key()
Value
Invisibly returns TRUE
after saving the key or aborting the
operation. The function will read the .Renviron
file after saving,
allowing the environment variables to be immediately available. A restart of
the R session is recommended.
Examples
fmp_set_api_key()
[Package fmpapi version 0.2.1 Index]