PHP code example of insafonov / au.ru-api
1. Go to this page and download the library: Download insafonov/au.ru-api library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
insafonov / au.ru-api example snippets
$auRuApi = new INSafonov\AuRuApi(['token' => 'your_secret_token']);
$auRuApi->lots->find([
'Id' => 10033369,
'Name' => 'Водонагреватель Oasis 15 Gn Над Раковиной',
'ExtId' => '92429',
]);
$auRuApi->lots->update(10033369, ['Price' => 20035]);
$auRuApi->lots->close(10033369);
$auRuApi->lots->repeat(10033369);