Skip to main content

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


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)

Uploaded Source

Built Distribution

bitskins_v2-1.0.2-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page