You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the new python library that will replace the "pusher" module once it
8
-
becomes stable enough.
7
+
The new Python library for interacting with the Pusher HTTP API.
9
8
10
-
In order to use this library, you need to have an account on
11
-
http://pusher.com. After registering, you will need the application
12
-
credentials for your app.
9
+
This package lets you trigger events to your client and query the state of your Pusher channels. When used with a server, you can validate Pusher webhooks and authenticate private- or presence-channels.
10
+
11
+
In order to use this library, you need to have a free account on <http://pusher.com>. After registering, you will need the application credentials for your app.
13
12
14
13
Features
15
14
--------
16
15
17
16
* Python 2.6, 2.7 and 3.3 support
18
-
* Adapters for various http libraries like requests, aiohttp and tornado
17
+
* Adapters for various http libraries like requests, urlfetch, aiohttp and tornado.
|secret `String`|**Required** <br> The Pusher application secret token |
65
82
|host `String`|**Default:`None`** <br> The host to connect to |
66
83
|port `int`|**Default:`None`** <br>Which port to connect to |
67
-
|ssl `bool`|**Default:`False`** <br> Use HTTPS |
84
+
|ssl `bool`|**Default:`True`** <br> Use HTTPS |
68
85
|cluster `String`|**Default:`None`** <br> Convention for other clusters than the main Pusher-one. Eg: 'eu' will resolve to the api-eu.pusherapp.com host |
69
-
|backend `Object`| an object that responds to the send_request(request) method. If none is provided, a `python.sync.SynchronousBackend` instance is created. |
86
+
|backend `Object`| an object that responds to the send_request(request) method. If none is provided, a `pusher.requests.RequestsBackend` instance is created. |
Get the list of channels in an application | *✔*
312
+
Get the state of a single channel | *✔*
313
+
Get a list of users in a presence channel | *✔*
314
+
WebHook validation | *✔*
315
+
Heroku add-on support | *✔*
316
+
Debugging & Logging | *✔*
317
+
Cluster configuration | *✔*
318
+
Timeouts | *✔*
319
+
HTTPS | *✔*
320
+
HTTP Proxy configuration | *✔*
321
+
HTTP KeepAlive | *✔*
322
+
323
+
#### Helper Functionality
324
+
325
+
These are helpers that have been implemented to to ensure interactions with the HTTP API only occur if they will not be rejected e.g. [channel naming conventions](https://pusher.com/docs/client_api_guide/client_channels#naming-channels).
0 commit comments