PHP code example of ydg / yunxuan-cps-sdk
1. Go to this page and download the library: Download ydg/yunxuan-cps-sdk 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/ */
ydg / yunxuan-cps-sdk example snippets
use Ydg\YunxuanCpsSdk\Yunxuan;
$app = new Yunxuan([
'app_key' => 'your app_key',
'app_secret' => 'your app_secret',
]);
$app->sku->list([
'request_id' => uniqid(),
'page_index' => 1,
'page_size' => 10
]);