Initialize the API key citymappR
will send in every request for authentication.
If a file is found at the location specified in config_file
, the values will be used.
citymappr_setup(config_file = ".citymappr", api_token = NULL, echo = FALSE)
config_file | a configuration file in DCF format. See read.dcf. By default the key will be searched in the current working directory. |
---|---|
api_token | Citymapper's api key (chr). |
echo | display the |