-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Suggestion] API v2 #84
Comments
It is sad that the developer ignores this |
Hey @fawazahmed0, how likely is it for this to be implemented? I can provide my assistance if you want me to. |
Thanks for assistance @RaptaG , I will let you know when I start implementing v2 of this api. |
Do you plan it anytime soon and if yes, when? |
I don't have an exact date, but v2 of this api is something I am considering from long time. |
Btw, I suggest removing obsolete currencies altogether, they are of no real value |
why did you close all these issues man? |
Most of these things are not relevant now, the project has been migrated to npm and cloudflare.
Currently the data is not stored in git repo, its stored in npm.
This is already done now |
What about the proposed json format? |
The Problem
In the current version, even though it works, there are many flaws and problems which should be fixed on the side of this API (not the developer side).
Just to name a few:
Solution
There are many fixes about these issues:
Efficiency
.min.json
s (see jsDelivr docs)Organization
currencies.json
Description:
date
: The date when the data updated, in YYYY-MM-DD format.2024-1-1
national
: National currencies.obsolete
: National currencies that don't exist anymore.crypto
: Cryptocurrencies.currency-id-in-the-api
: The same as the each value's key currentlyusd
id
: The ISO-4271 currency code, or if it's a cryptocurrency, the standard ID.Examples:
USD
BTC
name
: The full name of each currency.Example:
eur
-> Eurosymbol
: The symbol for each currency (if none then it should have the same value asid
)Examples:
€
₿
country
(national and obsolete only): The country (or area) this currency was/is used.Example:
Other
A cleanup of the API currency IDs would be a useful, yet optional, addition as well.
References
fawazahmed0/currency-api#104 #83 #81 #78 #73 #72 #53 #42
The text was updated successfully, but these errors were encountered: