Skip to main content

QuoineFinancial/LiquidTap websocket client for Python

Project description

LiquidTap Python Client

To manage API tokens, refer to: https://app.liquid.com/settings/api-tokens

To learn more about Liquid Api token management, see the help links below: https://help.liquid.com/connect-to-liquid-via-api

Getting Started

pip3 install liquidtap

The library can connect to public channels without token credentials.

import liquidtap

tap = liquidtap.Client()
tap.pusher.connect()

channel = tap.subscribe("product_cash_usdjpy_5")

channel.bind('updated', update_callback)

Authentication

Authenticate on initialization

import liquidtap

tap = liquidtap.Client("insert token id", "insert token secret")
tap.pusher.connect()

# Refer to profile page for user_id: https://app.liquid.com/settings/profile
channel = tap.subscribe("user_<user_id>")

channel.bind('updated', update_callback)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for liquidtap, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size liquidtap-1.0.0.2.tar.gz (8.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page