Closed suhaib47 closed 8 months ago
could you please explain a bit more.
You can get today's data using:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/{todaysDate}/currencies.json
but sometimes the link may fail if todays data is not available, you need to have proper error handling
I choose to use the latest
folder to get the most recent conversion. Is being updated everyday.
Like if you visit or fetch https://raw.githubusercontent.com/fawazahmed0/currency-api/1/latest/currencies.min.json you'll get the latest data available 👍🏻
currency-api has stopped working, Please read the migration guide
as it's possible that the latest data available is of "yesterday's" date