https://github.com/half0wl/iban-country-currency-codes
https://github.com/half0wl/iban-country-currency-codes
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/half0wl/iban-country-currency-codes
- Owner: half0wl
- License: mit
- Created: 2022-01-11T11:23:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-11T11:40:56.000Z (over 4 years ago)
- Last Synced: 2025-02-07T18:49:29.667Z (over 1 year ago)
- Language: Scala
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IBAN Country Currency Codes
⭐ https://www.iban.com/currency-codes in machine-readable formats.
| Format | Date | Download Latest Version |
| -- | -- | -- |
| CSV | 2022-01-11 | [🔗 `2022-01-11T19%3A28%3A24.275357-IBANCcMap.csv`](https://raw.githubusercontent.com/half0wl/iban-cc-map/main/csvs/2022-01-11T19%3A28%3A24.275357-IBANCcMap.csv) |
| JSON | Not supported yet | - |
| YML | Not supported yet | - |
## Sample
### CSV
Headers:
* `Country`
* `Currency`
* `CurrencyCode`
* `CountryNumberCode`
```sh
$ head -n 12 csvs/2022-01-11T19:28:24.275357-IBANCcMap.csv
Country,Currency,CountryCode,CountryNumberCode
AFGHANISTAN,Afghani,AFN,971
ÅLAND ISLANDS,Euro,EUR,978
ALBANIA,Lek,ALL,008
ALGERIA,Algerian Dinar,DZD,012
AMERICAN SAMOA,US Dollar,USD,840
ANDORRA,Euro,EUR,978
ANGOLA,Kwanza,AOA,973
ANGUILLA,East Caribbean Dollar,XCD,951
ANTARCTICA,No universal currency,,
ANTIGUA AND BARBUDA,East Caribbean Dollar,XCD,951
ARGENTINA,Argentine Peso,ARS,032
```
## Running the extractor
The script is written in Scala. Load it into [Ammonite REPL](https://ammonite.io/)
and run `Extract.toCsv`:
```scala
$ amm --predef Extract.sc
@ Extract.toCsv
```
This will output an `timestamp-IBANCcMap.csv` file in the project root dir.