Metadata-Version: 2.4
Name: sopel-cryptocurrency
Version: 2.0.0
Summary: A Sopel IRC bot plugin for cryptocurrency price lookups
Author-email: Rusty Bower <rusty@rustybower.com>
Maintainer-email: Rusty Bower <rusty@rustybower.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/RustyBower/sopel-cryptocurrency
Project-URL: Bug Tracker, https://github.com/RustyBower/sopel-cryptocurrency/issues
Keywords: sopel,plugin,bot,irc,cryptocurrency,bitcoin,ethereum
Platform: Linux x86, x86-64
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Communications :: Chat :: Internet Relay Chat
Requires-Python: <4,>=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: arrow
Requires-Dist: requests
Requires-Dist: sopel>=8
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Dynamic: license-file

# sopel-cryptocurrency

A Sopel IRC bot plugin for cryptocurrency price lookups using the CoinMarketCap API.

> **Note:** This package was previously published as `sopel-modules.cryptocurrency`.
> Please update your dependencies to use `sopel-cryptocurrency` instead.

## Installation

```bash
pip install sopel-cryptocurrency
```

## Configuration

You need a CoinMarketCap API key. Get one at https://pro.coinmarketcap.com

```ini
[cryptocurrency]
api_key = your_api_key_here
```

## Usage

```
.btc [currency]      - Bitcoin price
.eth [currency]      - Ethereum price
.ltc [currency]      - Litecoin price
.doge [currency]     - Dogecoin price
.coin <symbol> [currency] - Any cryptocurrency price
```

### Examples

```
.btc
BTC $47646.86 (0.11%) (Last Updated: a minute ago)

.eth EUR
ETH €2154.93 (-0.04%) (Last Updated: seconds ago)

.coin MATIC
MATIC $0.89 (0.14%) (Last Updated: a minute ago)
```

## Supported Currencies

USD (default), AUD, BRL, CAD, CHF, CLP, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PKR, PLN, RUB, SEK, SGD, THB, TRY, TWD, ZAR

## Requirements

- Sopel 8.0+
- Python 3.8+

## License

MIT License
