PHP code example of justmd5 / open-taobao-sdk
1. Go to this page and download the library: Download justmd5/open-taobao-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/ */
justmd5 / open-taobao-sdk example snippets
ao = new \Justmd5\Taobao\Taobao(['key' => 'your-key', 'secret' => 'your-secret','session'=>null]);
// 例子
print_r($taobao->request('taobao.areas.get', ['fields' => 'id,type,name']));