Associate
I am writing a Windows Store app that needs to get currencies from the internet, what is the best way to do this?
Last edited:
Can you be a bit more specific? Do you mean a list of currency ISO codes? A list of exchange rates? If so, what exchange rates do you need?
If you're after exchange rates the Yahoo Finance API seems to be used by a fair few things. OpenCart uses it. Here's their function.
You'd just have to construct a dynamic URL including the currencies you want as a comma seperated list, curAcurB=X. E.g. for GBP to USD, GBP to EUR and GBP to JPY:
http://download.finance.yahoo.com/d/quotes.csv?s=GBPUSD=X,GBPEUR=X,GBPJPY=X&f=sl1&e=.csv