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-11-10 20:16:21 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