Get support from Xavier Media
It is currently Sun Dec 08, 2013 12:02 pm

All times are UTC





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: The first application using our API
PostPosted: Mon Oct 27, 2008 7:51 pm 
Offline
XavierForum.com Admin
XavierForum.com Admin
Super VIP Member
Super VIP Member
User avatar

Joined: Tue Mar 15, 2005 4:37 pm
Posts: 1082
Location: Sweden
Points: 1500
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
Code:
url = URI.parse("http://api.finance.xaviermedia.com/api/#{date.year}/#{date.month}/#{date.day}.xml

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

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

_________________
Xavier Media®
Join me at LinkedIn | Get your latest blog post in your signature you too


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Registered users: No registered users


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Portal » Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
SEO MOD © 2007 StarTrekGuide ]