Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wiredmax/world-currencies
Currency information in JSON
https://github.com/wiredmax/world-currencies
currency-information javascript json
Last synced: 26 days ago
JSON representation
Currency information in JSON
- Host: GitHub
- URL: https://github.com/wiredmax/world-currencies
- Owner: wiredmax
- License: other
- Created: 2014-07-25T20:48:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T12:06:07.000Z (about 1 year ago)
- Last Synced: 2024-11-03T18:04:02.879Z (about 1 month ago)
- Topics: currency-information, javascript, json
- Language: JavaScript
- Homepage:
- Size: 161 KB
- Stars: 141
- Watchers: 12
- Forks: 40
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-world - wiredmax/world-currencies :octocat: - currency information in JSON (Currencies / More)
README
#Currency information in JSON.
This repository contains currency information for currencies contained in ISO 4217 in JSON format.##Example
```json
{
"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.
- Indent using spaces with a tab width of 4 in the json5 source.
- Make sure to rebuild the distribution version by executing grunt before submiting a pull request.
- Only static data (no exchange rate data or inflation value)## Change log
See the [change log](https://github.com/wiredmax/currency/blob/master/CHANGELOG.md).## To do
- [X] All the currency in ISO 4217 with their respective information and details.
- [ ] i18n of currency names and units
- [ ] More formats such as XML, YAML and CSV.
- [ ] Countries using currency.
- [ ] Central bank accociated to the currency and it's related information like the location and website, etc.## Sources
http://www.currency-iso.orghttp://www.xe.com/iso4217.php
The rest comes from Wikipedia
## License
See [LICENSE](https://github.com/wiredmax/currency/blob/master/LICENSE).