https://github.com/akarat/exchange
Get current exchange rate.
https://github.com/akarat/exchange
Last synced: 11 months ago
JSON representation
Get current exchange rate.
- Host: GitHub
- URL: https://github.com/akarat/exchange
- Owner: akarat
- License: bsd-3-clause
- Created: 2015-07-03T06:40:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-07T09:31:11.000Z (over 10 years ago)
- Last Synced: 2025-04-10T21:07:53.021Z (11 months ago)
- Language: Python
- Size: 92.8 KB
- Stars: 16
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-quant - exchange - Get current exchange rate. (Python / Data Sources)
- awesome-quant - exchange - Get current exchange rate. (Python / Data Sources)
README
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.