Download the PHP package huaiguoguo/yii2-taobao-sdk without Composer
On this page you can find all versions of the php package huaiguoguo/yii2-taobao-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download huaiguoguo/yii2-taobao-sdk
More information about huaiguoguo/yii2-taobao-sdk
Files in huaiguoguo/yii2-taobao-sdk
Download huaiguoguo/yii2-taobao-sdk
More information about huaiguoguo/yii2-taobao-sdk
Files in huaiguoguo/yii2-taobao-sdk
Vendor huaiguoguo
Package yii2-taobao-sdk
Short Description taobao-sdk-PHP-auto_1457166217151-20170221
License MIT
Package yii2-taobao-sdk
Short Description taobao-sdk-PHP-auto_1457166217151-20170221
License MIT
Please rate this library. Is it a good library?
Informations about the package yii2-taobao-sdk
yii2-taobao-sdk
taobao-sdk-PHP-auto_1457166217151-20170221
安装方法 composer require huaiguoguo/yii2-taobao-sdk:dev-master
简单的使用方法
use yii\taobao\top\request\TbkItemGetRequest;
use yii\taobao\top\TopClient;
$client = new TopClient();
$appkey = Yii::$app->params['taobao']['phpdx']['appkey'];
$appsecret = Yii::$app->params['taobao']['phpdx']['appsecret'];
$client->appkey = $appkey;
$client->secretKey = $appsecret;
$client->format = 'json';
$req = new TbkItemGetRequest;
$req->setFields("num_iid,title,pict_url,small_images,reserve_price,zk_final_price,user_type,provcity,item_url,seller_id,volume,nick");
$req->setQ("女装");
$req->setCat("16,18");
$resp = $client->execute($req);
$str = json_decode( json_encode( $resp),true);
print_r( json_encode($str) );
更多使用方法请参考 http://open.taobao.com/docs/api_list.htm 相关文档
Yii2更多学习请加群: 70324424
Yii2社区: http://www.phpdx.cn
All versions of yii2-taobao-sdk with dependencies
PHP Build Version
Package Version
The package huaiguoguo/yii2-taobao-sdk contains the following files
Loading the files please wait ....