https://pythonflaskapi.azurewebsites.net/
{
"all_cars": [
{
"Body": "Coupe",
"Displacement": "3.5-litre",
"Engine_Type": "l6",
"Model": "M1",
"Power": "273 hp",
"Production": "1978-1981",
"Production_Number": "453",
"Type": "E26",
"id": 1
},
{
....
},
{
....
}
]
}
{
"all_models": [
"1978-1981 M1",
"1980-1984 M535i",
"1984-1989 M635CSi",
....
...
..
]
}
{
"all_models": [
"E26",
"E12",
"E24",
....
...
..
]
}
Specify a model information to retrieve, where is the string based parameter - ex. /api/v1/cars/models/m3
JSON Format - Array of Objects - if multiple matching values are returned, they will be in the form of an Array of Objects:
{
"model": [
{
"Body": "Coupe, Convertible",
"Engine_Type": "l4",
"Model": "M3",
"Power": "191 hp to 234 hp",
"Production_Number": "17,184 (Coupe); 786 (Convertible)",
"Type": "E30",
"Year": "1986-1991",
"id": 6
},
{
"Body": "Sedan with 4 doors; Coupe; Convertible",
"Engine_Type": "l6",
"Model": "M3",
"Power": "240 hp to 316 hp",
"Production_Number": "71,242",
"Type": "E36",
"Year": "1992-1999",
"id": 9
},
{
...
}
]
}
JSON Format - Array of Objects - if multiple matching values are returned, they will be in the form of an Array of Objects:
{
"type": [
{
"Body": "Coupe; Convertible",
"Engine_Type": "l6; V8",
"Model": "M3",
"Power": "337 hp to 374 hp",
"Production_Number": "85,744",
"Type": "E46",
"Year": "2000-2006",
"id": 12
},
{
...
}
]
}
{
"response": [
{
"Body": "Sedan with 4 doors",
"Engine_Type": "l6",
"Model": "M535i",
"Power": "215 hp",
"Production_Number": "1,410",
"Type": "E12",
"Year": "1980-1984",
"id": 2
}
]
}
