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.1.tar.gz
(2.6 kB
view hashes)