@shaggytools/nhtsa-api-wrapper / Exports / api/endpoints/GetVehicleVariableList
Module: api/endpoints/GetVehicleVariableList
Table of contents
Functions
Type Aliases
Functions
GetVehicleVariableList
▸ GetVehicleVariableList(doFetch?): Promise<NhtsaResponse<GetVehicleVariableListResults>>
💡 More Information
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
| Name | Type | Description |
|---|---|---|
doFetch? | true | Whether to fetch the data or just return the URL (default: true) |
Returns
Promise<NhtsaResponse<GetVehicleVariableListResults>>
- Api Response
object-or- urlstringifdoFetch = false
Defined in
api/endpoints/GetVehicleVariableList.ts:23
▸ GetVehicleVariableList(doFetch): Promise<string>
Parameters
| Name | Type |
|---|---|
doFetch | false |
Returns
Promise<string>
Defined in
api/endpoints/GetVehicleVariableList.ts:27
Type Aliases
GetVehicleVariableListResults
Ƭ GetVehicleVariableListResults: Object
Objects found in the Results array of GetVehicleVariableList endpoint response.
Type declaration
| Name | Type |
|---|---|
DataType | "string" | "int" | "decimal" | "lookup" |
Description | string |
GroupName | string | null |
ID | number |
Name | string |