THIS REPO IS DEPRECIATED AS THE OFFICIAL PUSHER LIBRARIES NOW SUPPORT NDB ASYNC
Triggers pusher events on multiple channels in appengine. Uses the NDB asycronous API, i.e. the urlfetch is run in a tasklet.
import pusher
app = pusher.Pusher('my-app-id', 'my-app-key', 'my-app-secret')
channels = ['channel_1', 'channel_2'] # Can also be a string.
event_data = {'message': "Hello World!"}
result = app.trigger_async('cool_event, channels, event_data).get_result()
- There is currently no support for socket IDs