Skip to content

Commit

Permalink
Update description to create a new API key to the HERE Platform
Browse files Browse the repository at this point in the history
Closes: #157
  • Loading branch information
munterfi committed Jul 11, 2023
1 parent ee10620 commit 101bdd6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
@@ -1,3 +1,7 @@
# version 0.9.1.9000

* Update description to create new API key to the new HERE Platform (closes [#157](https://github.com/munterfi/hereR/issues/157)).

# version 0.9.1

* Resubmit to CRAN due to since the package was archived on 2022-12-27 as email to the maintainer was temporarily not deliverable.
Expand Down
11 changes: 5 additions & 6 deletions vignettes/authentication.Rmd
Expand Up @@ -20,20 +20,19 @@ Set up a valid authentication to the 'HERE' REST APIs and optionally configure a

In order to use the functionality of the **hereR** package, application credentials for a HERE project must be provided. The HERE application credentials (API Key) can be obtained for free as follows:

1. Go to [developer.here.com](https://developer.here.com/)
2. Sign up for a HERE developer account, which automatically creates a new project
3. Click 'REST: Generate APP'
4. Click 'Create API Key' and copy the key
1. Signup for the [HERE Platform](https://platform.here.com)
2. Create new App using the [Credentials Manager](https://platform.here.com/admin/apps?action=new-registration)
3. Select the Credentials tab, then go to "API Keys" and click "Create API key"
4. Copy the API key

The API key is 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 key, please use:

```{r set}
library(hereR)
set_key("<YOUR API KEY>")
```

Alternatively, the key can be exported directly to the environment: `export HERE_API_KEY="<YOUR-KEY>"`
The API key is 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). Alternatively, the key can be exported directly to the environment: `export HERE_API_KEY="<YOUR-KEY>"`

## Information about requests

Expand Down

0 comments on commit 101bdd6

Please sign in to comment.