Stations
Returns station data
get/station/{id}
Request
- Base URL: https://api.prix-carburants.2aaz.fr
- URL: https://api.prix-carburants.2aaz.fr/station/{id}
- Auth: none declared
Path parameters
idinteger required
Numeric ID of the station to get
Response
Station Data
Example response
{
"Brand": {
"id": 1,
"name": "TheBrandName",
"short_name": "Brand",
"nb_stations": 42
},
"Fuels": [
{
"id": 1,
"type": "D",
"name": "Gazole",
"short_name": "Gazole",
"picto": "B7",
"Update": {
"value": "2022-10-10T16:10:07Z",
"text": "10/10/2022 16:10:07"
},
"rupture": false,
"Price": {
"value": 1.986,
"text": "1.986 €/L"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.