From 78c61df02bda906a00b8a3683822b2bc739ed745 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Wed, 7 Apr 2021 15:29:33 +0200 Subject: [PATCH] Change the URL of the exchange API. Fixes #735 (#736) --- ihatemoney/currency_convertor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ihatemoney/currency_convertor.py b/ihatemoney/currency_convertor.py index 10026eea6..881d5428b 100644 --- a/ihatemoney/currency_convertor.py +++ b/ihatemoney/currency_convertor.py @@ -14,7 +14,7 @@ def __call__(cls, *args, **kwargs): class CurrencyConverter(object, metaclass=Singleton): # Get exchange rates no_currency = "XXX" - api_url = "https://api.exchangeratesapi.io/latest?base=USD" + api_url = "https://api.exchangerate.host/latest?base=USD" def __init__(self): pass