Data Lens Developer's Guide

Loading the Starter Pack

Data Lens comes with a 'starter pack' of sample datasets and queries which you can use to practise creating visualizations. This section describes how to load the starter pack into your Data Lens library. For details about each of the sample datasets available, see Sample Datasets.

Fastpath: Some of the sample datasets are visualized in Data Lens code examples. These include all the code needed to create the visualizations, which you can copy and use as the basis for your own apps.

To load the starter pack, send an authenticated POST, with an empty request body, to the following Data Lens REST API resource:

https://datalens.api.here.com/v1/starterpack?app_id={YOUR_APP_ID}&app_code={YOUR_APP_CODE}

The response is a JSON object that lists the IDs of all the sample datasets and sample queries added to your library from the starter pack:

{
    "kind": "datalens#starterpack",
    "datasets": [
      "6189956ef2cc4edbbd48585b4e59754c",
      "90af668484394fa782cc103409cafe39",
      "4a91c6821c2944008eee9e3dee059be1",
      "70e9d7b493f14961830dbdc75a3181bc"
    ],
    "request_id": "2d542161-6f0f-4107-c108-78209134b6de",
    "queries": [
    "f30f37e4f79d40e6b9672ae893ff1dd3",
    "3ba522e9b7744015884be889e377e841",
    "30a38ab42c334b5fa8bc5fa5654c5808",
    "e777747d795c4fc093fc2ea403885e86",
    "e97db386e50948d286b1d79ba17dc767",
    "b0315da4825b47489e6b77d2fd50a537"
    ]
}

Note that if any of the starter pack sample datasets or queries are already in your library, they will not be re-loaded.

To load the starter pack in Postman (see Using Postman):

  1. Paste the URL above into Postman's URL bar.
  2. Set the request type (next to the URL bar) to POST.
  3. Click Send.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.