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

Adding automatic API fallback, with minor refactor #141

Open Cruuncher opened 1 year ago

Cruuncher commented 1 year ago

In this PR, we implement the ability for the API to automatically fallback to alternate APIs so that the probability of availability is higher. Adding new providers should be easy enough with this change

ashwin31 commented 1 year ago

thank you @Cruuncher this is awesome contribuion ihave been waiting for. We will review and release ASAP.

Cruuncher commented 1 year ago

@ashwin31 Let me know if there's any changes you'd like!

The text of some exceptions may be different with this change

j-g00da commented 8 months ago

Could anyone merge this?