Skip to main content

A Sopel IRC bot plugin for cryptocurrency price lookups

Project description

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

pip install sopel-cryptocurrency

Configuration

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

[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

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

sopel_cryptocurrency-2.0.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sopel_cryptocurrency-2.0.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file sopel_cryptocurrency-2.0.0.tar.gz.

File metadata

  • Download URL: sopel_cryptocurrency-2.0.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sopel_cryptocurrency-2.0.0.tar.gz
Algorithm Hash digest
SHA256 3a84ff6ecd163f0f0a0e82b743f0d5567b84a03c6fb8b2fc1afa4f58bfe88b03
MD5 6affa8feeeee322bc43783e0da40e6dd
BLAKE2b-256 c6db4d96d324cd91a520c41b593cf75e486af02280786b80335657ea0a2dad10

See more details on using hashes here.

Provenance

The following attestation bundles were made for sopel_cryptocurrency-2.0.0.tar.gz:

Publisher: python-publish.yml on RustyBower/sopel-cryptocurrency

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sopel_cryptocurrency-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sopel_cryptocurrency-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19ce16186ca6fd0e29a3030d0ecc6e2fa9c586c939fb57139a9a700dfafda722
MD5 de6dd951e0672c799e31e5c12138adb6
BLAKE2b-256 c97d3107111b974e61b7cbb121757516f6c72ed16e41f5aa254e19f334812f6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for sopel_cryptocurrency-2.0.0-py3-none-any.whl:

Publisher: python-publish.yml on RustyBower/sopel-cryptocurrency

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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