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

Module

api/actions/GetModelsForMakeYear

GetModelsForMakeYear NHSTA Api Action.

Module Exports:

Types

View Source api/actions/GetModelsForMakeYear.ts, line 2

Classes

GetModelsForMakeYear

Type Definitions

object

# GetModelsForMakeYearResponse

Type representing the complete response returned by the GetModelsForMakeYear API Action.

Properties:
Name Type Description
Count number

A count of the items returned in the Results array.

Message string

A message describing the Results array.

SearchCriteria string

Search terms (VIN, WMI, manufacturer, etc.) used in the request URL.

Results Array.<GetModelsForMakeYearResults>

The search results returned by the NHSTA API request.

FetchResponse FetchResponse

Fetch API Response properties.

View Source api/actions/GetModelsForMakeYear.ts, line 122

object

# GetModelsForMakeYearResults

Type representing the structure of objects found in the 'GetModelsForMakeYearResponse.Results' array.

Properties:
Name Type Description
Make_ID number
Make_Name string
Model_ID number
Model_Name string

View Source api/actions/GetModelsForMakeYear.ts, line 111