asminog/yii2-cloudshop-api-client

Yii2 cloudshop api client

dev-master 2024-01-05 17:27 UTC

This package is auto-updated.

Last update: 2024-12-05 19:31:06 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