Accessing Vehicle Data

This section of the API allows any authenticated user to fetch information about any vehicle we have information on.

Currently we have information on Subaru vehicles only, but will be updating the system with Isuzu data very soon.

See accessing the data for more details.

Available Data

Data includes features, specifications, prices, variations, images and associated files

The API currently contains data on the following vehicles:

Accessing the Data

The URL structure differs depending upon what information you want, but the simplest request would be:

http://your_token.imwww.co.uk/cars/model/model_ident.xml

NOTE: All models have their model_ident listed next to them inside ().

Listing all Models

In certain situations you might want to return data on all vehicles; simply use this:

http://your_token.imwww.co.uk/cars/all.xml

Listing Models by Brand

You can fetch all models of a particular brand by simply asking for them in your query. To fetch only Subaru models you would do something like this:

http://your_token.imwww.co.uk/cars/brand/brand_ident.xml

Currently the supported brands are:

NOTE: As with models brands have a unique identifier (brand_ident); this is inside the () next to their name in the list above.

Returned Data

The data that is returned for each vehicle contains the following information:

NOTE: the resize_url property of a file is present on images; it takes a number for the last part of the URL. This number is the largest dimensions maximum value so if your image is long and thin then it will be the width; if it’s tall and narrow then it will be the height.

Minimal Data

A standard query to the car API (like the one above) returns quite a large amount of data (including all model variations, files and images); if you only want the basic data about each model you can add the minimal parameter into your query:

http://your_token.imwww.co.uk/cars/all/minimal.xml

The data returned by a minimal for each model is:

Comparing Models

If you want to fetch data about specific models (say to compare model_a to model_b) you can do this in a single call:

http://your_token.imwww.co.uk/cars/model/model_a/model_b.xml

To reduce the amount of data being transferred you can pass along the minimal parameter.