dev-master
9999999-dev https://github.com/tigranmaestro/OpenExchangeRatesAPIClientPHP library to consume OpenExchangeRates API
MIT
The Requires
- php >=5.3.0
- guzzlehttp/guzzle >=6.2
by Tigran Petrosyan
api wrapper exchange rates
PHP library to consume OpenExchangeRates API
This package is a slightly OpenExchangeRates API wrapper. Right now it only supports latest.json endpoint, (*1)
Simplest possible use case:, (*2)
$wrapper = new \TigranMaestro\OpenExchangeRatesPHPClient\Wrapper('__YOUR_APP_ID__'); $wrapper->setHttpClient(); $api = $wrapper->createLatestAPI(); $api->setSymbols([ 'EUR', 'AMD' ]); $result = $api->call(); echo ""; var_dump($result); echo "";
That's it, this is all you need to get started., (*3)
PHP library to consume OpenExchangeRates API
MIT
api wrapper exchange rates