php – PullMonkey Blog http://pullmonkey.com Mon, 17 Jan 2011 21:58:46 +0000 en-US hourly 1 https://wordpress.org/?v=5.6 VIN API – PHP and XML Parsing http://pullmonkey.com/2011/01/17/vin-api-php-and-xml-parsing/ http://pullmonkey.com/2011/01/17/vin-api-php-and-xml-parsing/#comments Mon, 17 Jan 2011 21:58:46 +0000 http://pullmonkey.com/?p=57568 Thanks go to Michael for sharing his hard work with the rest of you VIN API and PHP developers 🙂
I hope this helps -

]]>
http://pullmonkey.com/2011/01/17/vin-api-php-and-xml-parsing/feed/ 22
VIN API Examples for PHP and VB .NET http://pullmonkey.com/2011/01/13/vin-api-examples-for-php-and-vb-net/ Thu, 13 Jan 2011 23:03:40 +0000 http://pullmonkey.com/?p=57566 A few of our VIN API customers have been kind enough to take our Ruby and curl examples and come up with .NET and PHP implementations.
Here is a VB .NET example:

And for PHP, you have this:

Hope this helps and if you have examples for other programming languages, please let us know.

]]>
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