Places (Search) API Developer's Guide

Object Structure For Paginateable Collections

Paginateable Collections

User objects contain additional attributes to describe a user.

Paginateble collections are represented as individual pages (a slice of all elements of the collection) that contain mechanisms to access the next page. For example:

{
  "available": 26,
  "next": "http://alphabet.com/page/3",
  "offset": 3,
  "items": ["d", "e", "f"]
}

Paginateble collections contain the following attributes:

Attribute Type Description
items Array[Object]; optional An array containing the objects of the current page of the collection (for example, images). If a collection is empty, the items attribute is not present. The type of the objects in the array depend on the collection.
next String (URI); optional) The URI to the subresource holding the next page of the collection. If the current page is the last page of the collection, the attribute is not present.
available Number (positive integer); optional The total number of items available for a place. For example, if a place has 50 images, this would be 50.
Note: It is not possible to always calculate the total number of elements in a collection. So the attribute might be missing, or just contain an estimate. Clients MUST not rely on the presence of the attribute but instead rely only on the existence of the next attribute to find out if additional items are available.
offset Number (positive integer); optional Pages other than the first page of a collection may include this attribute. If present, it contains the index of the first item in the current page.

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.