skeeks/cms-cloudshop

Intgrations with Cloudshop

1.0.7 2024-02-20 10:15 UTC

README

https://web.cloudshop.ru/

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist skeeks/yii2-cloudshop-api-client "*"

or add

"skeeks/yii2-cloudshop-api-client": "*"

Configure your application

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

How to use

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

skeeks!
SkeekS CMS (Yii2) — fast, simple, effective!
skeeks.com | cms.skeeks.com