mirror of
https://github.com/fawazahmed0/exchange-api.git
synced 2025-06-30 02:31:14 +00:00
Update MIGRATION.md
This commit is contained in:
parent
89cc230ea5
commit
a7eb0c4c22
@ -1,6 +1,6 @@
|
||||
### Migration Guide
|
||||
1. Change the URL from `https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@{apiVersion}/{date}/{endpoint}`<br> to<br> `https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@{date}/{apiVersion}/{endpoint}`
|
||||
|
||||
2. change `date` from `YYYY-MM-DD` to `YYYY.M.D` . Eg: `2024-03-01` becomes `2024.3.1`
|
||||
2. change `date` from `YYYY-MM-DD` to `YYYY.M.D` . Eg: `2024-03-02` becomes `2024.3.2`
|
||||
|
||||
3. There is no `/currencies/{currencyCode}/{currencyCode}` endpoint in this new API, so please only use `/currencies/{currencyCode}` endpoint
|
||||
|
Loading…
Reference in New Issue
Block a user