Sets the API key


Sets an environment variable "DC_API_KEY" to given api_key.

An API key is required to use the R Client API. This can be provided to the API after importing the library.

For more details about how to get an API key and provide it to the R Client API, please visit the R library setup guide for more details.


  • api_key (string) - The API key.