Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 466 Bytes

README.rst

File metadata and controls

31 lines (20 loc) · 466 Bytes

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.