ageddesi / Mocked-API

An API library of useful mocked endpoints to help you get your designs feeling lifelike with real data.
MIT License
65 stars 85 forks source link

Add a vehicle endpoint #151

Closed kk5190 closed 2 years ago

kk5190 commented 2 years ago

Is your feature request related to a problem? Please describe. A vehicle endpoint that returns a list of vehicle-related entries.

Describe the solution you'd like Create an enpoint /vehicles which generates vehicle related entries.

ageddesi commented 2 years ago

This sounds like a great endpoint to add. Do you have an idea of the data that needs returning?

kk5190 commented 2 years ago

@ageddesi yes, below is the example

[
  {
  "name": "Polestar Silverado",
  "type": "Sedan",
  "color": "pink",
  "fuel": "Diesel",
  "manufacturer": "Porsche",
  "model": "Sentra",
  "vin": "T7N5MKPL4KL074687",
  "vrm": "HY52NCG"
  },
  {
  "name": "Fiat CTS",
  "type": "Passenger Van",
  "color": "lavender",
  "fuel": "Hybrid",
  "manufacturer": "Ford",
  "model": "Altima",
  "vin": "VRVA4N9UXFA425496",
  "vrm": "ZK76GUX"
  }
]
hritikkhurana10sm commented 2 years ago

Can you please assign this issue to me

ageddesi commented 2 years ago

Hi @hritikkhurana10sm this has been added but if you can think of any ways you would like to extend the API please do let us know.