2017 © Pedro Peláez
 

library galves-api

Guzzle API for interacting with Galves Vehicle API

image

isometriks/galves-api

Guzzle API for interacting with Galves Vehicle API

  • Wednesday, December 10, 2014
  • by isometriks
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Galves-API

Galves Vehicle Information API, (*1)

use Galves\Api\Client;

$galves = new Client();

// Login to get authToken
$galves->login([
    'username' => 'some_username',
    'acctNo' => '123456',
]);

// Get years
$years = $galves->getYears(); // [1998, 1999, 2000, 2001, ...]

// Get Makes
$makes = $galves->getMakes(); // ['BMW', 'Ford', ...]

// Get Models
$models = $galves->getModels(1990, 'BMW'); // ['3 Series', '4 Series', ...]

// Get Styles
$styles = $galves->getStyles(1990, 'BMW', '3 Series'); // ['guid' => 'style', 'guid2' => 'style2']

// Get Vehicle
$vehicle = $galves->getVehicle($guid);

// Get Mileage Adjustment
$adjust = $galves->getMileageAdjustment($guid, 123456); // (int)-450

The Versions

10/12 2014

dev-master

9999999-dev

Guzzle API for interacting with Galves Vehicle API

  Sources   Download

The Requires

 

by Avatar isometriks

10/12 2014

v0.1

0.1.0.0

Guzzle API for interacting with Galves Vehicle API

  Sources   Download

The Requires

 

by Avatar isometriks