skeeks/yii2-cloudshop-api-client

Yii2 cloudshop api client

1.0.2.2 2021-03-06 19:41 UTC

This package is auto-updated.

Last update: 2024-12-10 20:27:48 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