diff options
Diffstat (limited to 'python-twisted')
| -rw-r--r-- | python-twisted/README.md | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/python-twisted/README.md b/python-twisted/README.md index ef56afb..ea4173c 100644 --- a/python-twisted/README.md +++ b/python-twisted/README.md @@ -1,6 +1,14 @@ -## PubNub 3.5.0 Web Data Push Cloud-hosted API - PYTHON TWISTED -#### www.pubnub.com - PubNub Web Data Push Service in the Cloud. -#### http://github.com/pubnub/python +## Contact support@pubnub.com for all questions + +#### [PubNub](http://www.pubnub.com) Real-time Data Network +##### Twisted Client + +## IO Event Loop +Be sure to eventually start the event loop or PubNub won't run! + +``` +pubnub.start() +``` #### Import ``` @@ -26,13 +34,6 @@ def callback(message): pubnub.publish(channel, message, callback=callback, error=callback) ``` -#### IO Event Loop -##### VERY IMPORTANT TO ADD THIS LINE AT THE VERY BOTTOM! - -``` -pubnub.start() -``` - #### Subscribe Example ``` channel = 'hello_world' @@ -99,4 +100,6 @@ pubnub.unsubscribe(channel='hello_world') #### IO Event Loop start ``` pubnub.start() -```
\ No newline at end of file +``` + +## Contact support@pubnub.com for all questions |
