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