I needed a way of grabbing up to date currency information and an easy way to convert currencies using these up to date rates.
Normally this information requires signing up for premium accounts or writing web scrapers to do this for you.
It turns out that the European bank provides a daily xml for free that contains this information. It is specific to the euro but is fairly trivial to convert this into conversion rates for any of the other currency as the base currency.
Currency Rates is born
It is a simple class for getting up to date currency rates in an array. You pass a base currency which the rates will be calculated against. Connects to the european bank to get a daily breakdown of the rates.
Deliberately lightweight to allow you to build on top of.