Skip to main content

Simple crypto data API

Project description

Simple, unofficial python wrapper for Binance API.

You'll find this easy-to-use package helpful if you're interested in general market data and cryptocurrency values. You don't need to have a Binance account or API Key since you can't purchase/trade cryptocurrencies using this package.


Installation

python3 -m pip install cryptosnake

or

pip3 install cryptosnake


Usage


from cryptosnake import CryptoSnake

snake = CryptoSnake()

# Crypto to USDT. Takes currency as an argument.
snake.crypto_to_tether('ETH')

# Crypto to BUSD. Takes currency as an argument. Keep in mind that it is BUSD, not USDT and make sure that API provides you the info you need.
snake.crypto_to_usd('ADA')

# Crypto to euro. 
snake.crypto_to_euro('BTC')

# Get a list of available symbols
snake.get_available_symbols()

# Get a list of available pairings
snake.get_available_pairings()

# Get crypto price. Takes crypto pairing as an argument
snake.get_crypto_price('ETHUSDT')

Donate

If this package was useful, and you'd like to help out, feel free to donate.

  • ETH: 0x47b9afb6a0580e79ac228f0ce233323549f30284

  • BTC: 1FosbV9CXXwTiLvVa33QyUGvqeF6zhA629

  • ADA: DdzFFzCqrhssxaX8qbkwKrG5ZWjeZCBnRVEcV12f2D2TdQttkgjDukZqHv9sTEwdNq8KwXbCEGZboE6rEwLXDYSiVWiVA7RvmyYpoWiA

  • LTC: LZNHh8bVZtdeegDPnaMZu1aHYMwKpYsUiW

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

cryptosnake-0.1.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

cryptosnake-0.1.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file cryptosnake-0.1.3.tar.gz.

File metadata

  • Download URL: cryptosnake-0.1.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.0

File hashes

Hashes for cryptosnake-0.1.3.tar.gz
Algorithm Hash digest
SHA256 09a777d7b140c1cd61bf04b872ed413152f894afdc29fdcc387c98dcd61a7a78
MD5 9c4ce2b00dbe4e9a62f972ee719aa3dc
BLAKE2b-256 418365af5218ecc87edbead3f6ba2d43a870ba36bbb8aa6f10337c4119fc020d

See more details on using hashes here.

File details

Details for the file cryptosnake-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: cryptosnake-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.0

File hashes

Hashes for cryptosnake-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1946d2e65f9b1f82606158813ddc3147cc9f8abdce63a9fca018342d3f47f623
MD5 240af43cdee7b634e11cfa0b7f1cd1a4
BLAKE2b-256 006029bdedb4cfe899e8adbe1cbfddd8f31e2b29cebabbd78bcc8ef3a5f1693e

See more details on using hashes here.

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