Monday, 15 June 2015

flask - Python: Listening to Pusher API events -



flask - Python: Listening to Pusher API events -

so i've made flask application , i'm using force out info on events, through pusher's python client.

my challenge implement method can hear events presence channel. gather reading source of python client, there isn't much scope package. other libraries use? conversely, implementations can see , figure out how it's done? thanks

you can receive events via webhooks: http://pusher.com/docs/webhooks#presence

or utilize pusher python client (which handles subscription functionality rather publishing): https://github.com/ekulyk/pythonpusherclient

the officially supported alternative utilize webhooks.

python flask pusher

No comments:

Post a Comment