Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akarat/exchange
Get current exchange rate.
https://github.com/akarat/exchange
Last synced: about 2 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 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-07T09:31:11.000Z (over 9 years ago)
- Last Synced: 2024-09-19T20:37:57.467Z (3 months ago)
- Language: Python
- Size: 92.8 KB
- Stars: 16
- Watchers: 4
- 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 BankInstallation
------------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.