A Python module to fetch the latest value of Bitcoin in different currencies.
You can install the bitcoin-value
module using pip:
pip install 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")
Contributions to this project are welcome. If you have any improvements or bug fixes, please submit a pull request.
This project is licensed under the MIT License.