Skip to main content

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.

PyPi Version MIT License

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


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)

Uploaded Source

Built Distribution

bitcoin_value-1.6.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page