Open SpecialEdCT opened 5 months ago
Per the documentation, this link works: https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@2024-03-02/v1/currencies/eur.json
But... this does not: https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@2024-03-14/v1/currencies/eur.json
Couldn't find the requested release version '2024-03-14'.
nor does this: https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@2024-3-2/v1/currencies/eur.json
Couldn't find the requested release version 2024-3-2.
nor does this: https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@2024-3-14/v1/currencies/eur.json
Couldn't find the requested release version '2024-3-14'.
today is 2024-03-14
, it might take some time currencies to publish
As the currencies for today are already published, the following links should work fine:
https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@2024-03-14/v1/currencies/eur.json
https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@2024.3.14/v1/currencies/eur.json
You should always use latest
to avoid any issue
https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/eur.json
https://latest.currency-api.pages.dev/v1/currencies/eur.json
OK, I will give this one more try then.
I think what was screwing me up was the back and forth between using leading zeroes and not using leading zeroes in the date, however using latest circumvents this confusion.
Things were working fine until about a week ago when i guess everything was overhauled
I followed the documentation which itself was broken and had fixed in a separate issue.
Now it looks like the date formatting requires leading zeros in the dates, which a few days ago it was required to not have leading zeroes in the dates.
Does anyone know of any other sources I can cURL to get exchange rates because this project has been creating way too much grief for no reason....