It's quite easy to use. create a channel:
from google.appengine.api import channel
token = channel.create_channel(chan_name)
And start sending messages:
Use it like this:
import gae_channel channel = gae_channel.Client(token='your channel token') for msg in chan.messages(): print msg
Also have a look at /demo. There's a small demo client available.
$ python receiver.py Your channel name is: fWVwdXvNJP now run in an other terminal: python sender.py fWVwdXvNJP I'm now listening for messages, dont close this terminal...
Now in another terminal, run:
$ python sender.py fWVwdXvNJP Enter a message:test
Now you'll see the message appearing in the first terminal.
Download from bitbucket.