ezcomet

The Python API of EZComet.com Ajax/Comet service
Download

ezcomet Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • EZComet.com
  • Publisher web site:
  • http://ezcomet.com/

ezcomet Tags


ezcomet Description

ezcomet is a Python API for the EZComet.com Ajax/Comet service.To install Python SDK for EZComet.com service, you can run:easy_install ezcometor you perfer pippip install ezcometYou can also visit http://pypi.python.org/pypi/ezcomet/ to download and install manually.Push messagesHere we demonstrate how to push a message with Python SDK import ezcomet api = EZCometAPI(api_key='your api key', user_name='john')api.write('mychannel', 'hello baby')fairly enough, right?Command line toolThere is also a command line tool shipping with Python SDK: ezcomet_write --helpusage: ezcomet_write CHANNEL MESSAGEWrite a message to EZComet.compositional arguments: CHANNEL name of channel to write MESSAGE message to writeoptional arguments: -h, --help show this help message and exit -k API_KEY, --api-key API_KEY API key of your EZComet service -u USER_NAME, --user-name USER_NAME Username of your EZComet service -s, --no-sslFor example, to write a message, you can type ezcomet_write -k your_api_key -u demo my_channel "Hello baby"e0fee4f0477c46b7b78f0d1a9274465fWhen you see a tick, the message is already pushedProduct's homepage


ezcomet Related Software