Get current exchange rate.
It parses current exchange rate from these services:
- Yahoo finance
- fixer.io
- European Central Bank
Using pip to install it:
$ pip install exchange
The only method you would use is rate
:
>>> import exchange >>> exchange.rate('USD', 'CNY') Decimal('6.070')
This project is licensed with BSD. See LICENSE for more detail.