Constructor
# new GetModelsForMakeId(userConfigopt)
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
userConfig |
FetchConfig |
<optional> |
User configuration options to construct the class with. |
Methods
# async GetModelsForMakeId(makeID) → {Promise.<GetModelsForMakeIdResponse>}
This returns the Models in the vPIC dataset for a specified Make
whose Id is equal to the makeId in the vPIC Dataset.
Parameters:
| Name | Type | Description |
|---|---|---|
makeID |
number | Vehicle make ID (number). |
Api Response object.
Promise.<GetModelsForMakeIdResponse>