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 crypto-stocks
How to get price for crypto currency from Binance
price_binance = Binance('crypto_name', 'fiat_currency')
#example:
price_binance = Binance('btc', 'usd')
How to get price for crypto currency from Coinbase
price_coinbase = Coinbase('crypto_name', 'fiat_currency')
#example:
price_coinbase = Coinbase('btc', 'usd')
How to get price for crypto currency from FTX
price_ftx = FTX('crypto_name', 'fiat_currency')
#example:
price_ftx = FTX('btc', 'usd')
How to get price for crypto currency from Kraken
price_kraken = Kraken('crypto_name', 'fiat_currency')
#example:
price_kraken = Kraken('btc', 'usd')
How to get price for crypto currency from BitStamp
price_bitstamp = BitStamp('crypto_name', 'fiat_currency')
#example:
price_bitstamp = 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
crypto_stocks-0.1.6.tar.gz
(2.6 kB
view hashes)