currencystack/currencystack-php
Composer 安装命令:
composer require currencystack/currencystack-php
包简介
Real-time and historical exchange rates for 168 world currencies provided in JSON format and works for any programming environment.
README 文档
README
php client library for currencystack.io – A reliable API for foreign exchange rates and currency conversion.
Installation
composer require currencystack/currencystack-php
usage
Get ip info:
<?php require_once __DIR__ . '/vendor/autoload.php'; use CurrencyStack\Client; $CurrencyStackClient = new Client('API Key Here'); try { var_dump($CurrencyStackClient->CurrencyConvertApi->GetCurrencyConvertion('EUR', ['USD', 'EGP', 'AED'])); } catch (Exception $e) { echo $e->getMessage(); }
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-12-10