Set up a valid authentication to the ‘HERE’ REST APIs and optionally configure a proxy.
In order to use the functionality of the hereR
package, application credentials for a HERE project must be provided. The HERE application credentials (APP ID and APP CODE) can be obtained for free as follows:
The APP ID and APP CODE are set for the current R session and will be used to authenticate in the requests to the HERE REST APIs (250K free transactions per month). To set the credentials, please use:
If you are working behind a proxy and you don’t want to change the global proxy settings of RStudio, the proxy information can be passed directly to the hereR
package. If a proxy is needed, it can be set as follows:
Note: Only functions of the hereR
package are now using the proxy. Other functions sending requests to the web continue to encounter timeout errors.
To remove previously set credentials from the current R session use unset_auth()
. In order to delete the proxy information use unset_proxy()
. For overwriting application credentials or proxy settings use again the set_auth()
and set_proxy()
functions.