currency-codes
currency-codes copied to clipboard
Exclude data that are not real currencies
Hi, first of all thanks for your library, it's very useful!
I'm working with it and I see that in the array there are data that are not really coins, but are data for testing, and other objects that I don't even know if they are coins (I leave you some examples). { "code": "XXX", "number": "999", "digits": 0, "currency": "The codes assigned for transactions where no currency is involved", "countries": [ "Zz07_no_currency" ] } { "code": "XTS", "number": "963", "digits": 0, "currency": "Codes specifically reserved for testing purposes", "countries": [ "Zz06_testing_code" ] } { "code": "XPD", "number": "964", "digits": 0, "currency": "Palladium", "countries": [ "Zz09_palladium" ] } { "code": "XPT", "number": "962", "digits": 0, "currency": "Platinum", "countries": [ "Zz10_platinum" ] } { "code": "XUA", "number": "965", "digits": 0, "currency": "ADB Unit of Account", "countries": [ "Member Countries of the African Development Bank Group" ] } { "code": "XDR", "number": "960", "digits": 0, "currency": "SDR (Special Drawing Right)", "countries": [ "International Monetary Fund (Imf) " ] }
Is there any way to know which data are actually coins? I wanted to use the library in production but it doesn't work, because I don't know what data I have to exclude.
Thank you.