Political Views
The /meta/pviews
resource handles requests for Political View details.
The following URL shows the format of a request and the table below explains each parameter.
https://{1-4}.base.maps.ls.hereapi.com/maptile/2.1/meta/pviews
?apiKey={YOUR_API_KEY}
&{param}={value}
Mandatory Query Parameters
The following table lists the mandatory parameters that need to be specified with every request. Not specifying these parameters will make the system reject the request.
Parameter | Type | Description |
---|---|---|
app_id (deprecated) | | A 20-byte Base64 URL-safe encoded string used in one of the available authentication options for the HERE Map Tile v2. If you use the app ID/app code option, you need to include an |
app_code (deprecated) | | A 20-byte 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 |
apiKey | | 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 |
Parameter | Type | Description |
---|---|---|
output | String | Output specifier. The API supports the following output specifier values (and output formats):
|
Example with JSON output
The following example shows a request addressed to the /meta/pviews
resource.
https://{1-4}.base.maps.ls.hereapi.com
/maptile/2.1/meta/pviews
?apiKey={YOUR_API_KEY}
&output=json
The response contains information as shown in this example.
{
"pviews" : [
"ARG",
"IND",
"MAR",
"PAK"
]
}
Example with plain text output
The following example shows a request addressed to the /meta/pviews
resource.
https://{1-4}.base.maps.ls.hereapi.com
/maptile/2.1/meta/pviews
?apiKey={YOUR_API_KEY}
The response contains information as shown in this example.
ARG,
IND,
MAR,
PAK