Credentials Setup

The following are steps to setup your credentials to start using the Data SDK for Python with HERE services. The SDK for Python requires three sets of HERE credentials.

  1. HERE platform credentials, to be able to access data
  2. HERE Location Service credentials, to access HERE Location Services from within Jupyter
  3. HERE platform repository credentials, to access data schemas, conda environments and other HERE artifacts

HERE Platform Credentials

To obtain HERE platform credentials you will need to create a HERE application. To begin, go to HERE Platform Applications and Keys, register a new app, create a key for this app, and then download its generated credentials.properties file. Place the credentials file into:

For Linux/MacOS: $HOME/.here/credentials.properties

For Windows: %USERPROFILE%\.here\credentials.properties

The HERE platform generated app credentials should look similar to the example below:

here.user.id = <example_here>
here.client.id = <example_here>
here.access.key.id = <example_here>
here.access.key.secret = <example_here>
here.token.endpoint.url = <example_here>

HERE Location Service Credentials

To obtain HERE Location Service credentials you will need to generate a new App ID and App Code or Api Key. To begin, go to the HERE Developer Site, request REST App ID and App Code or Api Key, and then copy the APP ID and App Code or API Key into a hls_credentials.properties file. Place the credentials file into:

For Linux/MacOS: $HOME/.here/hls_credentials.properties

For Windows: %USERPROFILE%\.here\hls_credentials.properties

This HERE Location Service credentials file should look similar to the example below:

app_id = <example_here>
app_code = <example_here>

OR

api_key = <example_here>

HERE Platform Repository Credentials

To obtain HERE platform repository credentials you will need get your maven credentials file settings.xml. To begin, go to the HERE platform repository, create repository credentials, and then download the settings.xml file. Place the credentials file in your Maven settings directory:

For Linux/MacOS: $HOME/.m2/settings.xml

For Windows: %USERPROFILE%\.m2\settings.xml

The HERE platform repository credentials file should look similar to the example below:

<settings ...>

<servers>
  <server>
    <id>HERE_PLATFORM_REPO</id>
    <username>#USER_NAME#</username>
    <password>#PASSWORD#</password>
  </server>
</servers>

...

</settings>

Installation Types

Local Installation:

  1. HERE Data SDK for Python - Core.
  2. HERE Data SDK for Python - Analytics.

Build your own Docker: build the Docker Image.

results matching ""

    No results matching ""