Skip to content
On this page

@shaggytools/nhtsa-api-wrapper - v3.0.4 / Exports / api/endpoints/GetVehicleVariableList

Module: api/endpoints/GetVehicleVariableList ​

Table of contents ​

Type Aliases ​

Functions ​

Type Aliases ​

GetVehicleVariableListResults ​

Ƭ GetVehicleVariableListResults: Object

Objects found in the Results array of GetVehicleVariableList endpoint response.

Type declaration ​

NameType
DataType"string" | "int" | "decimal" | "lookup"
Descriptionstring
GroupNamestring | null
IDnumber
Namestring

Defined in ​

api/endpoints/GetVehicleVariableList.ts:54

Functions ​

GetVehicleVariableList ​

▸ GetVehicleVariableList(doFetch?): Promise<NhtsaResponse<GetVehicleVariableListResults>>

💡 More Information

See: GetVehicleVariableList Documentation

GetVehicleVariableList provides a list of all the Vehicle related variables that are in the vPIC dataset. Information on the name, description and the type of the variable is provided.

Parameters ​

NameTypeDescription
doFetch?trueWhether to fetch the data or just return the URL (default: true)

Returns ​

Promise<NhtsaResponse<GetVehicleVariableListResults>>

  • Api Response object -or- url string if doFetch = false

Defined in ​

api/endpoints/GetVehicleVariableList.ts:23

▸ GetVehicleVariableList(doFetch): Promise<string>

Parameters ​

NameType
doFetchfalse

Returns ​

Promise<string>

Defined in ​

api/endpoints/GetVehicleVariableList.ts:27

Released under the MIT License.