MicroPyramid / forex-python

Foreign exchange rates, Bitcoin price index and currency conversion using ratesapi.io
http://forex-python.readthedocs.io/en/latest/usage.html
MIT License
661 stars 195 forks source link

Added new forex provider to fix "Currency Rates Source Not Ready" #127

Open ShanePadellaro opened 1 year ago

ShanePadellaro commented 1 year ago

Added forex provider (exchangerate.host) which is almost a 1to1 replacement for the old theforexapi.com. Added a check to throw if a currency is not available since new provider always returns 200

All unit tests for converter.py are working a part from test_with_valid_currency_code which looks to be broken because the included json file doesn't contain the expected symbol.

ShanePadellaro commented 1 year ago

fixes #126