PHP code example of danielzhao / taobaosdk
1. Go to this page and download the library: Download danielzhao/taobaosdk 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/ */
danielzhao / taobaosdk example snippets
use TaobaoSdk\TopClient;
$c = new TopClient();
$c->appkey = $appkey;
$c->secretKey = $secretKey;
$req = new \TaobaoSdk\Request\AlibabaAliqinFlowWalletGradeRequest();
$req->setPhoneNum("phone-number");
$resp = $c->execute($req, $session);
var_dump($resp);