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:
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:
Never used these, but you could use libcurl to download the file then parse it it with either your own CSV reader (not too difficult) or something like csvlib.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.