OpenCagex v0.1.3 OpenCagex.Config View Source
Allows to modify and retrieve your OpenCagex configuration
Link to this section Summary
Functions
Returns your API Key configuration value
Modifies your API Key value
Returns the API Url configuration value
Link to this section Functions
Returns your API Key configuration value
Example
iex> OpenCagex.Config.api_key("YOUR API KEY")
:ok
iex> OpenCagex.Config.api_key
"YOUR API KEY"
Modifies your API Key value
Example
iex> OpenCagex.Config.api_key("YOUR API KEY")
:ok
Returns the API Url configuration value
Example
iex> OpenCagex.Config.api_url
"http://api.opencagedata.com/geocode/v1/"