Add the following to your composer.json
file:
{
"require": {
"jeffreyhyer/edmunds": "dev-master"
}
}
And run composer install
or composer update
to install the correct
version of the package.
TODO: Generate docs and put them in the /docs/
directory
TODO: Instructions for applying for an API Key through Edmunds/Mashery
<?php
require('vendor/autoload.php');
use Edmunds;
$edmunds = new Edmunds($apiKey);
// Decode a VIN
$vehicle = $edmunds->vehicle()->vin('12345678901234567');