Public Transit API Developer's Guide

Search Cities (Deprecated)

Use the resource coverage/search to search for public transit coverage by city.

.../v3/coverage/search.{format}?<parameter>=<value>...
    
Table 1. Mandatory Parameters
Parameter Data Type Description
app_id String

Typically, but not guaranteed to be, 20
     bytes Base64 URL-safe encoded string used for the authentication of
     the client application. If you use the app ID/app code option, you
     need to include an app_id and
     app_code with every request. For further
     details, see Acquiring Credentials.

app_code String

Typically, but not guaranteed to be, 20
     bytes Base64 URL-safe encoded string used for the authentication of
     the client application. If you use the app ID/app code option, you
     need to include an app_id and
     app_code with every request. For further
     details, see Acquiring Credentials.

apiKey String

A 43-byte Base64 URL-safe encoded string used for the authentication of the client
     application. As a logged in user, you can generate it at
     https://developer.here.com/projects.
     API Keys never expire but you can invalidate your API Keys at any time. You cannot have more
     than two API Keys for one app at the same time. You must include an apiKey with every request. For further details, see Acquiring Credentials.

politicalview String

Specify the political view. Available territories will be seen through the point of view of this country. If this parameter is not specified the neutral international view is made available, where territories may have unresolved claims.
A switch that allows grouping results from Taiwan together with results from China. When politicalview=CHN, Taiwan will appear as part of China.

name String Specifies the query string for the city name. By default, the city name is in the local language. Exceptions for non-local users are transcribed city names in countries with non-Latin scripts and English names of important stops in some cities, such as Central Station in Berlin, Germany.
Table 2. Optional Parameters
Parameter Data Type Description
details Integer Enables Pop and Operators in the city list. Otherwise, the city list in the response contains only the city tags.

Only applicable for the cities list, the nearby list never contains details

0 = disabled, 1 = enabled

The default is 1

lang String Specifies the language of the response. The value complies with the ISO 639-1 standard and defaults to en.
max Integer Limits the number of cities the response can contain.