Converts foreign fiat currencies to USD by getting and caching hourly exchanges rates from openexchangerates.org
Project description
PyUSDforex - Fiat to USD
Project Description
PyUSDforex is a python package to convert foreign currencies into US dollars. It uses the free API key from openexchangerates.org to get over 200 currencies. PyUSDforex allows you to perform as many currency conversions as you wish by caching the hourly exchange rates from openexchange.org in a python shelve.
Usage
import pyUSDforex
pyUSDforex.convert(100, 'EUR', 'Your APP_ID')
Get your app_id from https://openexchangerates.org/signup/free
Notes
We welcome your feedback and support, raise github ticket if you want to report a bug. Need new features? Contact us on github
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyUSDforex-0.1.0.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for pyUSDforex-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7b14130d2e3f14c87f3cf9a751d30810121d2b99dc95587b2021c22af6c2acd |
|
MD5 | bed1700019bcfb49352f4ff36a687365 |
|
BLAKE2b-256 | 683dc2ff2b9dbb4f817182823739f0ad31852aa75306d5b8c0f2428249ed456f |