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 details)
Built Distribution
File details
Details for the file bitskins-v2-1.0.2.tar.gz
.
File metadata
- Download URL: bitskins-v2-1.0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbe06ac1675617e0c2528501e91a861c369c56daba1b0e6ae92685b0ddd70ab4 |
|
MD5 | 1478784438f51834753ba95829d4bc83 |
|
BLAKE2b-256 | 5493cc15b54dadf7a097f4a3d85ee64c232cea53df9b2e3edef0b99aedea4bc2 |
File details
Details for the file bitskins_v2-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: bitskins_v2-1.0.2-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c3bd3c30f50729d5ac2c478481bd2ac4d6fede9dfe58b0de6e6714ae4e19557 |
|
MD5 | a82753158a529c4abba0bc8de2ae0880 |
|
BLAKE2b-256 | 18fd7483cd647c165c2835e4edd3a500b2ff405fae77fd45c78c041d88349380 |