yzh52521 / open-taobao
There is no license information available for the latest version (dev-main) of this package.
淘宝开放平台sdk
dev-main
2021-11-05 03:40 UTC
Requires
- php: ^7.2
- ext-json: *
- hanson/foundation-sdk: ^5.0
This package is auto-updated.
Last update: 2024-12-05 10:38:10 UTC
README
淘宝开放平台SDK
安装
composer require yzh52521/open-taobao-sdk
使用
<?php $taobao = new \yzh52521\Taobao\Taobao(['key' => 'your-key', 'secret' => 'your-secret','debug'=>true]); // 使用如下 $taobao->request('method', $params); // 例子 print_r($taobao->request('taobao.tbk.item.get', ['fields' => 'num_iid,title,pict_url,small_images,reserve_price,zk_final_price,user_type,provcity,item_url,seller_id,volume,nick', 'q' => '便利贴']));