Important: This documentation applies to v2 of this package.
For v3 docs see vpic.shaggytech.com

Class

GetWMIsForManufacturer

api/actions/GetWMIsForManufacturer.GetWMIsForManufacturer(userConfigopt)

Implemented by NHTSA.

Extends api/Fetch.Fetch.

Constructor

# new GetWMIsForManufacturer(userConfigopt)

Parameters:
Name Type Attributes Description
userConfig FetchConfig <optional>

User configuration options to construct the class with.

View Source api/actions/GetWMIsForManufacturer.ts, line 27

Methods

# async GetWMIsForManufacturer(manufacturer, paramsopt) → {Promise.<GetWMIsForManufacturerResponse>}

Provides information on the World Manufacturer Identifier (WMI) for a specified manufacturer.

  • Only WMIs registered in vPICList are displayed.
  • manufacturer can be a partial name, or a full name for more specificity, or WMI ID number (e.g., "Merc", "Mercedes Benz", 987, etc.).
  • vehicleType can be a string or number (e.g., "car", 1)
Parameters:
Name Type Attributes Default Description
manufacturer string | number

Manufacturer Name.

params object <optional>
{}

Query Search Parameters to append to the URL.

vehicleType string | number <optional>

Optional Vehicle Type search parameter.

View Source api/actions/GetWMIsForManufacturer.ts, line 44

Api Response object.