Skip to main content

bittrex_api

Project description

bittrex_api

PyPI - version PyPI - license PyPI - python version PyPI - downloads

GitHub - last commit GitHub - commit activity

GitHub - code size in bytes GitHub - repo size GitHub - lines of code

GitHub - license

Description

IMDB scraper

Install

pip install bittrex_api
# or
pip3 install bittrex_api

Usage

from bittrex_api import Bittrex


bittrex = Bittrex(
    api_key='',              # YOUR API KEY
    secret_key='',           # YOUR API SECRET
    max_request_try_count=3, # Max tries for a request to succeed
    sleep_time=2,            # sleep seconds between failed requests
    debug_level=3
)

v3 = bittrex.v3
# or
# from bittrex_api import *
# v3 = BittrexV3(
#     api_key='',              # YOUR API KEY
#     secret_key='',           # YOUR API SECRET
#     max_request_try_count=3, # Max tries for a request to succeed
#     sleep_time=2,            # sleep seconds between failed requests
#     debug_level=3,
#     reverse_market_names=True
# )

# V3 Usage samples
from kcu import kjson

MARKET_NAME = 'BTC-XRP'

kjson.print(v3.get_market(market=MARKET_NAME))
kjson.print(v3.get_market_summary(market=MARKET_NAME))
kjson.print(v3.get_orderbook(market=MARKET_NAME, depth=1))

Dependencies

kcu, requests

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

bittrex_api-0.0.21.tar.gz (19.7 kB view hashes)

Uploaded source

Built Distribution

bittrex_api-0.0.21-py3-none-any.whl (30.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page