Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.8 KB

File metadata and controls

43 lines (35 loc) · 1.8 KB

vin-decode documentation

A PHP wrapper for the NHTSA vPIC API.

Guides

Method reference

The full method → endpoint → return-type table is in the project README.

DTOs

All response objects live in Mattsplat\VinDecode\DTO and are immutable. List endpoints return Mattsplat\VinDecode\Responses\Response, which is iterable, countable and array-accessible over the DTO rows.

DTO Produced by
VinResult decodeVinFlat, decodeVinFlatExtended, decodeVinBatch
VinVariable decodeVin, decodeVinExtended
Make allMakes, makesForManufacturer, makesForManufacturerAndYear, makesForVehicleType
Model modelsForMake, modelsForMakeId, modelsForMakeYear, modelsForMakeIdYear
Manufacturer allManufacturers
ManufacturerDetail manufacturerDetails
ManufacturerVehicleType nested in Manufacturer / ManufacturerDetail
Wmi decodeWmi
WmiManufacturer wmisForManufacturer
VehicleType vehicleTypesForMake, vehicleTypesForMakeId
Variable vehicleVariableList
VariableValue vehicleVariableValues
PlantCode equipmentPlantCodes
Part parts
CanadianSpecification canadianVehicleSpecifications