Class EDMUNDSAPI.Vehicle
- extends EDMUNDSAPI
Vehice Data and Repositories
Methods
string
getFutureMakes
(
function
)
Get a list of all future makes
- Parameters:
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getFutureModelsByMakeId
(
int
,
function
)
Get list of future models for a specific make ID
- Parameters:
-
int
<object>
id The make ID
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getListOfMakes
(
function
)
Get a list of available makes in this particular year
- Parameters:
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getListOfModelsByMake
(
string
,
function
)
Get a list of available models of a particular make in this particular year
- Parameters:
-
string
<object>
make The vehicle make (use niceName value)
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getListOfTypes
(
function
)
Get a list of available vehicle types (will return an array)
- Parameters:
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getMakeById
(
int
,
function
)
Get a the details of a particular make
- Parameters:
-
int
<object>
id The id of the make
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getMakeByName
(
string
,
function
)
Get the details of a particular name
- Parameters:
-
string
<object>
name The name of the make (use niceName value)
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getMakes
(
function
)
Get a list of all makes in our databases
- Parameters:
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getMakesByState
(
string
,
function
)
Get a list of available makes in this particular year
- Parameters:
-
string
<object>
state The state of the make (new|used|future)
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getMakesByYear
(
int
,
function
)
Get a list of available makes in this particular year
- Parameters:
-
int
<object>
year The year of the make
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getModelById
(
int
,
function
)
Get mode details for this specific model ID
- Parameters:
-
int
<object>
id The model ID
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getModelByMakeAndModelName
(
string
,
function
)
Get model details for a specific make and model names
- Parameters:
-
string
<object>
make The make name (use niceName value)
-
string
<object>
model The model name (use niceName value)
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getModelsByMakeAndState
(
string
,
function
)
Get model details for a particular make and a publication state
- Parameters:
-
string
<object>
make The vehicle make (use niceName value)
-
string
<object>
state The vehicle publication state (new|used|future)
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getModelsByMakeAndYear
(
string
,
function
)
Get model details for a particular make and year
- Parameters:
-
string
<object>
make The vehicle make (use niceName value)
-
string
<object>
year The vehicle year
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getModelsByMakeId
(
int
,
function
)
Get model details for a specific make ID
- Parameters:
-
int
<object>
id The make ID
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getModelsByMakeName
(
string
,
function
)
Get model details for a speicifc make name
- Parameters:
-
string
<object>
name The make name (use niceName value)
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getNewMakes
(
function
)
Get a list of new makes only
- Parameters:
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getNewModelsByMakeId
(
int
,
function
)
Get list of new models for a specific make ID
- Parameters:
-
int
<object>
id The make ID
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getUsedMakes
(
function
)
Get a list of used makes only
- Parameters:
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getUsedModelsByMakeId
(
int
,
function
)
Get list of used models for a specific make ID
- Parameters:
-
int
<object>
id The make ID
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
string
getVehicle
(
string
,
int
,
function
)
Get a the details on a particular vehicle
- Parameters:
-
string
<object>
make The vehicle make (use niceName value)
-
string
<object>
model The vehicle model (use niceName value)
-
int
<object>
year The year of the make/model
-
function
<object>
callback The callback function to be invoked when the response is returned (JSONP implementation)
- Returns:
string
- The URL of the REST call to Edmunds' API Service
Configuration attributes inherited from EDMUNDSAPI: