mpg – PullMonkey Blog http://pullmonkey.com Thu, 13 Jan 2011 22:42:14 +0000 en-US hourly 1 https://wordpress.org/?v=5.6 Vin API – Phase II http://pullmonkey.com/2011/01/13/vin-api-phase-ii/ http://pullmonkey.com/2011/01/13/vin-api-phase-ii/#comments Thu, 13 Jan 2011 22:42:14 +0000 http://pullmonkey.com/?p=57563 We've just finished adding A LOT more details to VIN API's result set. This time we've added things like MPG, MSRP, cargo room/volumn, etc. See the full list below, it is very comprehensive.

If you use ruby (look for a future post with .NET and PHP examples), and want the complete dataset, you would setup your ActiveResource like this:

And then call our API like this:

The only change (for those of you who have already implemented phase I) is to send in a "complete" parameter with value of "true" ... upon doing so, VIN API will send you the complete dataset versus the basic (and default) dataset.

The results would look like this (in XML) and be prepared because it is lengthy:

That's it, just thought I'd share VIN API's Phase II.

]]>
http://pullmonkey.com/2011/01/13/vin-api-phase-ii/feed/ 1