alexprengere / currencyconverter

A Python currency converter using the European Central Bank data.
http://alexprengere.github.io/currencyconverter
Apache License 2.0
215 stars 59 forks source link

Is there a list with all supported currencys? #38

Closed PandaForce1 closed 2 years ago

PandaForce1 commented 2 years ago

Hello folks and dear contributors,

is there any type of list, which contains all the currencys this module supports? Because in my case it's pretty disappointing to see that only a few currencys are supported by this module. That's why I would like to have a little overview over the supported currencys.

Thank's for every help in advance:)

alexprengere commented 2 years ago

Hi, this project provides a Python API on top of the European Central Bank data. To get a quick glance at the list of supported currencies, you can use the -v flag in the command line:

42 available currencies:
AUD BGN BRL CAD CHF CNY CYP CZK DKK EEK
EUR GBP HKD HRK HUF IDR ILS INR ISK JPY
KRW LTL LVL MTL MXN MYR NOK NZD PHP PLN
ROL RON RUB SEK SGD SIT SKK THB TRL TRY
USD ZAR

If you find a better data source with more currencies, you can format that one to the ECB format, and use this with this currency converter as well, using:

c = CurrencyConverter('./path/to/currency/file.csv')