PHP code example of bigyellow / jd-cps
1. Go to this page and download the library: Download bigyellow/jd-cps 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/ */
bigyellow / jd-cps example snippets
$xslt
new JdUnionOpenGoodsJingFenQueryRequest();
$request->setEliteId(1);
$request->setPageIndex(1);
$request->setPageSize(1);
$client = new Client(getenv('JD_CPS_TEST_APPKEY'), getenv('JD_CPS_TEST_APPSECRET'));
$result = $client->execute($request);
var_dump($result)