Constructor
# new GetVehicleTypesForMake(userConfigopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
userConfig |
FetchConfig |
<optional> |
User configuration options to construct the class with. |
Methods
# async GetVehicleTypesForMake(makeName) → {Promise.<GetVehicleTypesForMakeResponse>}
This returns all the Vehicle Types in the vPIC dataset for a specified Make, whose name is LIKE the make name in the vPIC Dataset.
makeName
can be a partial name, or a full name for more specificity (e.g., "Merc", "Mercedes Benz", etc.).
Parameters:
Name | Type | Description |
---|---|---|
makeName |
string | Name of the vehicle make to search. |
Api Response object.
Promise.<GetVehicleTypesForMakeResponse>