Fuel Prices API Developer's Guide

Fueltypes

This resource retrieves a list of fuel types.

Requests against this resource use the HTTP GET method.

Request Example

The code block below shows a search request against the fueltypes resource:


https://fuel-v2.cc.api.here.com/fuel/fueltypes.xml
?apiKey={YOUR_API_KEY}

Request Parameters

The table below documents both mandatory and optional request parameters supported by the fueltypes resource.

Parameter Required Description
app_id - legacy Yes

A-20 byte Base64 URL-safe encoded string used for the authentication of the client application.

You must include an app_id and app_code with every request. For more information on authentication, see the Identity & Access Management Developer Guide.

app_code - legacy Yes

A-20 byte Base64 URL-safe encoded string used for the authentication of the client application.

You must include an app_id and app_code with every request. For more information on authentication, see the Identity & Access Management Developer Guide.

apiKey Yes 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 more information on authentication, see the Identity & Access Management Developer Guide.
locale No Two letter locale code in ISO 639-1 format, used to determine what language is used in the response.

Default: en

If the locale is not supported, the response is empty.

Response to this Request

For more information on responses to queries against the fueltype resource, see Fuel Types Response.