jspsystem / yahoo-shopping-api-client
一个辅助向 Yahoo! Shopping API 发起请求的 PHP 包。
v1.0.0
2022-10-10 22:31 UTC
Requires
- php: ^8.0
- ext-curl: *
- ext-json: *
- ext-openssl: *
Requires (Dev)
- fakerphp/faker: ^1.20
- phpunit/phpunit: ^9
- vlucas/phpdotenv: ^5.4
This package is auto-updated.
Last update: 2024-09-16 04:58:12 UTC
README
支持对 Yahoo! Shopping API 发起请求的库。
目录
要求
- PHP ^8.0(需要 curl 和 json 相关包。)
- curl >= 7.52.1
- openssl >= 1.1.0
安装
composer require jspsystem/yahoo-shopping-api-client
简单示例
<?php use JSPSystem\YahooShoppingApiClient\Item\GetItemClient; $client = new GetItemClient('Set the acquired access token.'); $result = $client->request([ 'seller_id' => 'seller id', 'item_code' => 'item code', ]);
支持的 API
许可
PHP 的 Yahoo! Shopping API 支持库采用 MIT 许可证发布。
请参阅附带 LICENSE 文件以获取详细信息。