exchangerate.host
exchangerate.host copied to clipboard
incorrect rate in euro when calls 2-3 times same api
import requests
url = "https://api.exchangerate.host/latest?base=USD"
response = requests.get(url)
data = supported_currency(response.json())
data : screen shot atta
ched
last 2 records shows euro rate vs usd is incorrect
[9:55 AM, 7/13/2022] Rishabh Bhardwaj: [{'country_name': 'Euro', 'symbol': '€', 'abbr': 'EUR', 'rate': 0.996818} [9:55 AM, 7/13/2022] Rishabh Bhardwaj: [{'country_name': 'Euro', 'symbol': '€', 'abbr': 'EUR', 'rate': 0.883011},
this is not accepted as this data is absolutely incorrect. yet it is free but not acceptable
i changed my exchange rate provider now.
please fix this serious issue thanks
it seems that it will be a cache problem, try adding some GET parameter for break the cache