Get current price of crypto from most popular stock exchanges
Project description
Welcome to crypto-stocks
Here are some instructions how to use this libraly
How to import library
import cryptostocks
How to get price for crypto currency from Binance
price_binance = cryptostocks.Binance('crypto_name', 'fiat_currency')
#example:
price_binance = cryptostocks.Binance('btc', 'usd')
How to get price for crypto currency from Coinbase
price_coinbase = cryptostocks.Coinbase('crypto_name', 'fiat_currency')
#example:
price_coinbase = cryptostocks.Coinbase('btc', 'usd')
How to get price for crypto currency from FTX
price_ftx = cryptostocks.FTX('crypto_name', 'fiat_currency')
#example:
price_ftx = cryptostocks.FTX('btc', 'usd')
How to get price for crypto currency from Kraken
price_kraken = cryptostocks.Kraken('crypto_name', 'fiat_currency')
#example:
price_kraken = cryptostocks.Kraken('btc', 'usd')
How to get price for crypto currency from BitStamp
price_bitstamp = cryptostocks.BitStamp('crypto_name', 'fiat_currency')
#example:
price_bitstamp = cryptostocks.BitStamp('btc', 'usd')
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
cryptostocks-0.2.3.tar.gz
(2.6 kB
view details)
File details
Details for the file cryptostocks-0.2.3.tar.gz.
File metadata
- Download URL: cryptostocks-0.2.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c52bcaf291b6622d7df349241e87ae14b6126371bbf2e3782b2fa2fb9f8453dc
|
|
| MD5 |
61a928f4c0f58082a4a4a13bf40f7dab
|
|
| BLAKE2b-256 |
5bccba112c2b0d39c677bdc27dfd12cfda71d211947879b3aa6c55851235f3db
|