arequena93 / world-trading-data-api
世界贸易数据API客户端
0.9.1
2019-10-23 15:56 UTC
Requires
- php: ^7.0
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ^6.2.2 || ^7.4.3
This package is auto-updated.
Last update: 2024-09-24 05:31:01 UTC
README
用于世界贸易数据服务的PHP客户端(包装器)。
要求
- PHP 7.0+
- Composer (https://getcomposer.org.cn/download/)
- WorldTradingData API密钥:WorldTradingData-Api-Key
安装
php composer.phar require arequena93/world-trading-data-api
使用
初始化
$option = new WorldTradingData\Options();
$option->setApiKey('YOUR_API_KEY');
$client = new WorldTradingData\Client($option);