PHP code example of skeeks / yii2-cloudshop-api-client

1. Go to this page and download the library: Download skeeks/yii2-cloudshop-api-client 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-cloudshop-api-client example snippets


//App config
[
    'components'    =>
    [
    //....
        'cloudshopApiClient' =>
        [
            'class'         => 'skeeks\yii2\cloudshopApiClient\CloudshopApiClient',
            'email'         => '',
            'password'      => '',
        ],
    //....
    ]
]


\Yii::$app->cloudshopApiClient->getProfileApiMethod();
\Yii::$app->cloudshopApiClient->getStoresApiMethod();
\Yii::$app->cloudshopApiClient->getAccountsApiMethod();
\Yii::$app->cloudshopApiClient->getCatalogApiMethod();

php composer.phar