2017-25 © Pedro Peláez
 

library open-exchange-rates-api-client

PHP library to consume OpenExchangeRates API

image

tigranmaestro/open-exchange-rates-api-client

PHP library to consume OpenExchangeRates API

  • Friday, September 30, 2016
  • by tigran.maestro
  • Repository
  • 0 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

OpenExchangeRates PHP API Wrapper

This package is a slightly OpenExchangeRates API wrapper. Right now it only supports latest.json endpoint, (*1)

Usage - simple

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)

The Versions

30/09 2016

dev-master

9999999-dev https://github.com/tigranmaestro/OpenExchangeRatesAPIClient

PHP library to consume OpenExchangeRates API

  Sources   Download

MIT

The Requires

 

by Tigran Petrosyan

api wrapper exchange rates