Created
March 15, 2018 21:08
-
-
Save meredithroman/34af05dd8131174b8ffbb5f9f9dd4aed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pusher | |
pusher_client = pusher.Pusher( | |
app_id='492761', | |
key='5bfdbd130f34b669394e', | |
secret='9b143a101b28ed72662d', | |
cluster='us2', | |
ssl=True | |
) | |
pusher_client.trigger('my-channel', 'my-event', {'message': 'hello world'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment