PHP code example of skeeks / yii2-ozon-seller-api

1. Go to this page and download the library: Download skeeks/yii2-ozon-seller-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/ */

    

skeeks / yii2-ozon-seller-api example snippets


//App config
[
    'components'    =>
    [
    //....
        'ozoenSellerApi' =>
        [
            'class'                 => 'skeeks\yii2\ozonsellerapi\OzonSellerApiClient',
            'client_id'   => '688772',
            'api_key'   => '0793c579-09aa-4fe1-bd7f-98ddd779a162',
            'timeout'               => 12,
        ],
    //....
    ]
]


$response = \Yii::$app->ozoenSellerApi->;
print_r($response); //Array response data

php composer.phar