haistar/jos-api-client
Composer 安装命令:
composer require haistar/jos-api-client
包简介
Unofficial API Client for JDID Open Platform V2
README 文档
README
Composer library for JD.ID open API version 2. Please found something related with the Open API in this link
How to install
composer install haistar/jos-api-client
How to use
// Setup Client
$client = new JosApiClient($_ENV["SERVER_URL"], $_ENV["ACCESS_TOKEN"]);
$client->appKey = $_ENV["APP_KEY"];
$client->appSecret = $_ENV["APP_SECRET"];
// Setup Request
$request = new JosApiRequest("jingdong.epistock.queryEpiMerchantWareStock");
$request->addRequestParam("wareStockQueryListSt", "[{'skuId':601267085,'realNum':1}]");
// Execute API Request
$response = $client->execute($request);
统计信息
- 总下载量: 106
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-05-03