justmd5 / open-taobao-sdk
v2.0.0
2023-11-29 07:57 UTC
Requires
- php: >=7.2.0
- ext-json: *
- guzzlehttp/guzzle: ^7.8
- illuminate/http: ^7.30
This package is auto-updated.
Last update: 2024-11-29 10:08:32 UTC
README
淘宝开放平台SDK
安装
composer require justmd5/open-taobao-sdk -vvv
使用
<?php include __DIR__.'/../vendor/autoload.php'; $taobao = new \Justmd5\Taobao\Taobao(['key' => 'your-key', 'secret' => 'your-secret','session'=>null]); // 例子 print_r($taobao->request('taobao.areas.get', ['fields' => 'id,type,name']));