# duoduoke-sdk **Repository Path**: justmd5/duoduoke-sdk ## Basic Information - **Project Name**: duoduoke-sdk - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

多多客API SDK【拼多多开放平台】

styleci PHP from Packagist Total Downloadsn GitHub stars Latest Stable Version Latest Unstable Version License

> 现推荐使用作者最新产出的[拼多多API SDK【拼多多开放平台】](https://github.com/justmd5/pindoduo-sdk) ### 要求 1. PHP >= 7.0 2. **[Composer](https://getcomposer.org/)** 3. ext-curl 拓展 4. ext-json 拓展 ### 安装 `composer require justmd5/duoduoke-sdk` ### 使用 ```php use Justmd5\DuoDuoKe\DuoDuoKe; require __DIR__ . '/vendor/autoload.php'; $config = [ 'key' => 'xxxxxx69e3940c6b93xxxxxx', 'secret' => 'c2eda0c398xxxxxxbd63ff57bf22c05xxxxxx', 'debug' => false ]; $duoduoke = new DuoDuoKe($config); ``` ### 调用示例 > 多多进宝商品详情查询 pdd.ddk.goods.detail ```php $result = $duoduoke->request('pdd.ddk.goods.detail', ['goods_id_list' => ['395581006']]); ``` ### 文档 [拼多多开放平台](http://open.pinduoduo.com/) · [官方文档](http://open.pinduoduo.com/#/apidocument) ### 感谢 - [hanson/foundation-sdk](https://github.com/Hanson/foundation-sdk) ### 单元测试[on working] 配置 config 中所需配置 ```shell composer test ``` ## License MIT [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjustmd5%2Fduoduoke-sdk.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjustmd5%2Fduoduoke-sdk?ref=badge_large)