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

Class

DecodeWMI

api/actions/DecodeWMI.DecodeWMI(userConfigopt)

Implemented by NHTSA.

Extends api/Fetch.Fetch.

Constructor

# new DecodeWMI(userConfigopt)

Parameters:
Name Type Attributes Description
userConfig FetchConfig <optional>

User configuration options to construct the class with.

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

Methods

# async DecodeWMI(WMI) → {Promise.<DecodeWMIResults>}

This provides information on the World Manufacturer Identifier for a specific WMI code.

  • WMI may be put in as either 3 characters representing VIN position 1-3 or 6 characters representing VIN positions 1-3 & 12-14. Example "JTD", "1T9131".
Parameters:
Name Type Description
WMI string

World Manufacturer Identifier.

View Source api/actions/DecodeWMI.ts, line 40

Api Response object.

Promise.<DecodeWMIResults>