The first application using our API
Page 1 of 1

Author:  bylla [ Mon Oct 27, 2008 7:51 pm ]
Post subject:  The first application using our API

Today I got an email from Google Alerts telling me about a nice post over at geoff.evason.name called Simple Currency Conversion Rate API Consumption For Ruby / Rails.

The fantastic part about this post is that it's about our finance API and it's also giving the readers some example code to use in their own applications. This is something we really like. Someone wrote a piece of code using our API and they published the code on the Internet for anyone to use it :D :D

So if you're looking for a currency converter you should check out the code at geoff.evason.name.

In the example code Geoff is using AUD and USD, but you should be able to modify the script to use any of the 36 currencies available in the API. If you also change the URL from
url = URI.parse("http://api.finance.xaviermedia.com/api/#{date.year}/#{date.month}/#{date.day}.xml

url = URI.parse("http://api.finance.xaviermedia.com/api/latest.xml

You will always get the latest currency rates available in the API :D

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group