wiredmax / world-currencies

Currency information in JSON
Other
143 stars 41 forks source link
currency-information javascript json

Currency information in JSON.

This repository contains currency information for currencies contained in ISO 4217 in JSON format.

Example

{
    "CAD": {
        "name": "Canadian Dollar",
        "iso": {
            "code": "CAD",
            "number": "124"
        },
        "units": {
            "major": {
                "name": "dollar",
                "symbol": "$"
            },
            "minor": {
                "name": "cent",
                "symbol": "¢",
                "majorValue": 0.01
            }
        },
        "banknotes": {
            "frequent": [
                "5$",
                "10$",
                "20$",
                "50$",
                "100$"
            ],
            "rare": [
                "1$",
                "2$",
                "500$",
                "1000$"
            ]
        },
        "coins": {
            "frequent": [
                "1$",
                "2$",
                "5¢",
                "10¢",
                "25¢"
            ],
            "rare": [
                "1¢",
                "50¢"
            ]
        }
    }
}

How to contribute?

You can simply submit a pull request and I'll gladly review them and merge them if the changes are acceptable.

Change log

See the change log.

To do

Sources

http://www.currency-iso.org

http://www.xe.com/iso4217.php

The rest comes from Wikipedia

License

See LICENSE.