mirror of
https://github.com/fawazahmed0/exchange-api.git
synced 2025-07-05 05:24:06 +00:00
Update MIGRATION.md
This commit is contained in:
parent
54775eb9a8
commit
29dd8d8a61
@ -1,5 +1,5 @@
|
|||||||
### Migration Guide
|
### 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}`
|
1. Change the URL from `https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/{date}/{endpoint}`<br> to<br> `https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@{date}/v1/{endpoint}`
|
||||||
|
|
||||||
2. There is no `/currencies/{currencyCode}/{currencyCode}` endpoint in this new API, so please only use `/currencies/{currencyCode}` endpoint. For example:
|
2. There is no `/currencies/{currencyCode}/{currencyCode}` endpoint in this new API, so please only use `/currencies/{currencyCode}` endpoint. For example:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user