Skip to content

mcrock/Sauto

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sauto

Sauto API PHP wrapper

Instalation

composer.json

"ondrs/sauto": "0.2.1"

Usage

Create a new Sauto instance and pass your software key as a parametr

$sauto = new ondrs\Sauto\SautoApi('sauto.swKey')

Login

$sauto->login('login', 'password');

Use methods according to the API

$sauto->listOfCars();   // returns QuickCarData[]

Create/update vehicles

$car = new CarData([
    'kind_id' => 1,
    'manufacturer_id' => 100,
    // etc ...
]);

$carId = $sauto->addEditCar($car);  // returns int

// etc... :)

And logout after you are done

$sauto->logout();

About

Sauto API PHP wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%