bitbank-python-api

https://BitBank.nz API for live cryptocurrency forecasts in Python


Keywords
trading, API, bot, cryptocurrency, bitcoin
License
MIT
Install
pip install bitbank-python-api==0.0.1

Documentation

bitbank-python-api

Python 3 API for https://BitBank.nz

See api docs at https://BitBank.nz/api

Example usage


bitbank_api = bitbank.BitBank('TEST_API_KEY')
pair = 'USDT_BTC'


# fetch latest forecasts for a single pair
featureset = bitbank_api.fetch_pair(pair)


# fetch latest forecasts for all pairs
pair_to_featuresets = bitbank_api.fetch_all_pairs()


# fetch historical forecasts ~4 hours of forecasts 
featuresets = bitbank_api.fetch_historical_featuresets(pair)

testing

tests ran with py.test