Fuels

Returns fuel data

get/fuel/{id}

Request

  • Base URL: https://api.prix-carburants.2aaz.fr
  • URL: https://api.prix-carburants.2aaz.fr/fuel/{id}
  • Auth: none declared

Path parameters

idinteger required

Numeric ID of the fuel to get

Response

Fuel Data

idinteger
namestring
short_namestring
type'D' | 'E' | 'G'
pictostring

Example response

{
  "id": 1,
  "name": "Gazole",
  "short_name": "Gazole",
  "type": "D",
  "picto": "B7"
}

Changes

No recorded changes to this operation across all 1 revision of this API.