Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 600 Bytes

ExchangeRate

Overview

ExchangeRate is simple class aimed at parsing exchange rates from both Yahoo! Finance and the European Central bank.

Process

  1. Fetch data from Yahoo! or ECB
  2. Parse exchange rates
  3. Convert to defined base currency
  4. Return array or JSON object

Usage

Refer to example.php located within the examples folder

License

Code is licensed under MIT Public License. Exchange rates are subject to their individual licenses: