Edmunds API JavaScript SDK

Vehicle  1.0.0

Edmunds API JavaScript SDK > Vehicle > EDMUNDSAPI.Vehicle
Search:
 
Filters

Class EDMUNDSAPI.Vehicle - extends EDMUNDSAPI

Vehice Data and Repositories

Constructor

EDMUNDSAPI.Vehicle ( )

Properties inherited from EDMUNDSAPI:

Methods

getFutureMakes

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

getFutureModelsByMakeId

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

getListOfMakes

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

getListOfModelsByMake

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

getListOfTypes

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

getMakeById

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

getMakeByName

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

getMakes

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

getMakesByState

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

getMakesByYear

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

getModelById

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

getModelByMakeAndModelName

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

getModelsByMakeAndState

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

getModelsByMakeAndYear

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

getModelsByMakeId

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

getModelsByMakeName

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

getNewMakes

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

getNewModelsByMakeId

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

getUsedMakes

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

getUsedModelsByMakeId

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

getVehicle

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

Methods inherited from EDMUNDSAPI:

Configuration attributes inherited from EDMUNDSAPI:


Copyright © 2011 Yahoo! Inc. All rights reserved.