/exchange

Get current exchange rate.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Exchange Rate

Get current exchange rate.

It parses current exchange rate from these services:

  • Yahoo finance
  • fixer.io
  • European Central Bank

Installation

Using pip to install it:

$ pip install exchange

Usage

The only method you would use is rate:

>>> import exchange
>>> exchange.rate('USD', 'CNY')
Decimal('6.070')

License

This project is licensed with BSD. See LICENSE for more detail.