When the user asks about a vehicle by year, make, and model (without a VIN):
- •Make an HTTP GET request:
Only includecode
GET https://api.carsxe.com/v1/ymm?key={CARSXE_API_KEY}&year={YEAR}&make={MAKE}&model={MODEL}[&trim={TRIM}]trimif the user specified one. - •Present available trims, engine options, features, and specs.
- •If the user didn't specify a trim, list all available trims for that year/make/model.
- •If the API key is missing, tell the user to set the
CARSXE_API_KEYenvironment variable.