Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-pusher-client

Autobahn backed python pusher client

Usage:

import sys
from twisted.internet import reactor
from twisted.python import log

from pusher_client import PusherClient
bitstamp = PusherClient("de504dc5763aeef9ff52")

def run(event, data):
    def on_data(channel, event, data):
        print(data)

    channel = bitstamp.subscribe("order_book")
    channel.bind("data", on_data)

bitstamp.on("pusher:connection_established", run)

log.startLogging(sys.stdout)
reactor.run()

About

Autobahn backed python pusher client

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages