A module to fetch the latest value of Bitcoin in different currencies.
Project description
Bitcoin Value
A Python module to fetch the latest value of Bitcoin in different currencies.
Table of Contents
Installation
You can install the bitcoin-value
module using pip:
pip install bitcoin-value
Usage
Getting Bitcoin Value
You can use this module to get the current value of Bitcoin in various currencies. Here's an example of how to use it:
from bitcoin_value import currency
# Specify the currency code (e.g., "USD", "EUR")
bitcoin_value = currency("USD")
# Print the Bitcoin value in the specified currency
print(f"1 BTC is equivalent to {bitcoin_value} USD")
Contributing
Contributions to this project are welcome. If you have any improvements or bug fixes, please submit a pull request.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bitcoin_value-1.6.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for bitcoin_value-1.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e979209d5e9ab1c4dc89b59a65723422a4d2cff6e0b62850d24eaa612b4caef6 |
|
MD5 | 22d18b357508fcbc93e7c7ff9600917f |
|
BLAKE2b-256 | 56ef3ff67d615d03433281c8122d8c77146fea0413e97a3c4a63fbedbfcdbd3a |