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.
- Platform credentials, to be able to access the HERE data
- location Service credentials, to access HERE Location Services from within Jupyter
- Repository credentials, to access data schemas, conda environments and other HERE artifacts
To obtain HERE platform credentials you will need to create a HERE application. To begin, go to 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>
Location Service Credentials
To obtain HERE Location Service credentials you will need to generate a new App ID and App Code. To begin, go to the HERE Developer Site, request REST App ID and App Code, and then copy the APP ID and App Code 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>
Repository Credentials (DEPRECATED)
To obtain the repository credentials you will need get your maven credentials file settings.xml
. To begin, go to the repository on the HERE platform, 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 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:
- HERE Data SDK for Python - Analytics.
- HERE Data SDK for Python - Core.
- HERE MLflow Plugin.
Build your own Docker: Build Your Own Docker.