Skip to content

akarat/exchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.