openexchangerates / npm-exchange-rates

nodeJS / npm module to load real-time exchange rates from the Open Exchange Rates API
https://openexchangerates.org
89 stars 30 forks source link

Get currencies? #4

Open jontxu opened 11 years ago

jontxu commented 11 years ago

Hi, I'm trying to do a currency converter (I already have added the option to set the base currency), but I think it lacks a method that helps getting the currencies.json data.

I've thought of loading it locally (downloading the file) but it'd be better if a method like oxr.currencylist or something like that could be done. I could also load them in a database like CouchDB (I don't see why should I use a relational DB here).

ersenbasaransen commented 8 years ago

Hi,

I agree with jontxu, a method for getting currencies would be beneficial.