Constructor
# new GetMakesForVehicleType(userConfigopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
userConfig |
FetchConfig |
<optional> |
User configuration options to construct the class with. |
Methods
# async GetMakesForVehicleType(typeName) → {Promise.<GetMakesForVehicleTypeResponse>}
This returns all the Makes in the vPIC dataset for a specified vehicle type (typeName
),
whose name is LIKE the vehicle type name in vPIC Dataset.
- Vehicle
typeName
can be a partial name, or a full name for more specificity (e.g., "Vehicle", "Moto", "Low Speed Vehicle", etc.).
Parameters:
Name | Type | Description |
---|---|---|
typeName |
string | A partial or full vehicle type name. |
Api Response object.
Promise.<GetMakesForVehicleTypeResponse>