lok0613 / exchange-rates-api-io

该包最新版本(1.0.0)没有提供许可证信息。

1.0.0 2021-09-23 09:35 UTC

This package is not auto-updated.

Last update: 2024-09-20 22:43:19 UTC


README

CI

use Lok0613\ExchangeRatesApiIo;
use Lok0613\ExchangeRatesApiIo\Currency;

$exchange_rates_api_io = new ExchangeRatesApiIo('access-token');
$rates = $exchange_rates_api_io->latestRates(new Currency('EUR'))->getRates();
$rates[0]->getCurrency()->getName(); // 'AED'
$rates[0]->getRate(); // 4.306

安装

~$ composer require lok0613/exchange-rates-api-io

测试

~$ ./vendor/bin/phpunit tests

许可证

ExchangeRatesApiIO 在 MIT 许可证(MIT)下提供。请参阅许可证文件获取更多信息。