XavierForum.com
http://www.xavierforum.com/

Xavier Finance - Graphs based on the exchange rate API
http://www.xavierforum.com/viewtopic.php?f=5&t=10980
Page 1 of 1

Author:  bylla [ Sat Oct 11, 2008 12:41 pm ]
Post subject:  Xavier Finance - Graphs based on the exchange rate API

This section describe how you can create historical graphs using the Exchange Rate API from Xavier Finance.

The graphs will be provided in HTML format like this:
Code:
http://api.finance.xaviermedia.com/graphs/[currency]-[currency]-[period].html

[currency] = The two currencies you would like to show the graph for. Any of the 38 supported currencies can be used at any place.
[period] = Supported periods are 1m, 3m, 1y, 5y, 10y which will return graphs for the last 1 month, 3 months, 1 year, 5 years and 10 years (we only have data from 4th of January 1999 so you will at the moment only get 9 years).

To show the EUR/USD currency rate development for the last 3 months you send the following request to the API server:
Code:
http://api.finance.xaviermedia.com/graphs/EUR-USD-3m.html


To display the graphs on your own homepage you simply include the above link in an iframe like this:
Code:
<IFRAME SRC="http://api.finance.xaviermedia.com/graphs/EUR-USD-3m.html" name=xaviergraphs width=500 height=260 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no"></IFRAME>


The graphs will be updated daily with new fresh data from the API server.

Since this is a free service we require a text link to http://finance.xaviermedia.com/ if you use any graphs or data:
Code:
<a href="http://finance.xaviermedia.com/">Currency converter</a>

Author:  nanwich [ Sun Jan 03, 2010 5:26 am ]
Post subject:  Re: Xavier Finance - Graphs based on the exchange rate API

10Y doesn't seem to work; I only get 1 yr.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/