An unofficial wrapper for the Bitskins V2 API in Python.
Project description
# bitskins-v2-wrapper An unofficial wrapper for the Bitskins V2 API in Python.
Quick Start
pip install bitskins-v2
REST API example
from bitskins.client import Client
client = Client(api_key)
# get all available items on sale
items = client.get_all_items_for_sale_list(app_id=730)
# get account balance
balance = client.get_account_balance()
Websockets example
import json
from bitskins.streams import WebsocketClient
def ws_callback(_, msg):
data = json.loads(msg)
print(data)
ws_client = WebsocketClient(api_key, ws_callback)
# subscrive to websocket channels
ws_client.subscribe("listed")
ws_client.subscribe("price_changed")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bitskins-v2-1.0.2.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for bitskins_v2-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c3bd3c30f50729d5ac2c478481bd2ac4d6fede9dfe58b0de6e6714ae4e19557 |
|
MD5 | a82753158a529c4abba0bc8de2ae0880 |
|
BLAKE2b-256 | 18fd7483cd647c165c2835e4edd3a500b2ff405fae77fd45c78c041d88349380 |