Constructor
# new GetMakeForManufacturer(userConfigopt)
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
userConfig |
FetchConfig |
<optional> |
User configuration options to construct the class with. |
Methods
# async GetMakeForManufacturer(manufacturer) → {Promise.<GetMakeForManufacturer>}
This returns all the Makes in the vPIC dataset for a specified manufacturer that is requested.
- If supplied
manufactureris a number - method will do exact match on Manufacturer's Id. - If supplied
manufactureris a string - it will look for manufacturers whose name is LIKE the provided name (it accepts a partial manufacturer name as an input). manufacturername can be a partial name, or a full name for more specificity (e.g., "988", "HONDA", "HONDA OF CANADA MFG., INC.", etc.).- Multiple results are returned in case of multiple matches.
Parameters:
| Name | Type | Description |
|---|---|---|
manufacturer |
string | number | Manufacturer Name (string) or Manufacturer ID (number). |
Api Response object.
Promise.<GetMakeForManufacturer>