{ "info": { "author": "Steph Samson", "author_email": "sdvsamson@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "zulipbot\n=========\n\nThe unofficial Python API for Zulip bots. A Zulip email and API key are needed to use this.\n\nTo get your bot's Zulip email and API key, go to\nyour Settings page and scroll down to the Your Bots section.\n\nUsage\n-----\nTo install: ``pip install zulipbot``\n\nInitialization\n^^^^^^^^^^^^^^\nIdentify your Zulip bot's email and API key, and make a new Bot object.\n\n.. code-block :: python\n\n >>> import zulipbot\n >>> email = 'foo@bar.baz'\n >>> key = 'spammyeggs'\n >>> my_bot = zulipbot.Bot(email, key)\n\nBot Methods\n^^^^^^^^^^^\nFor an example on how the below methods work together in a program, check out `example.py`_.\n\n.. _example.py: https://github.com/stephsamson/zulipbot/blob/master/example.py\n\n\n``subscribe_to_all_streams`` - Subscribes to all Zulip streams.\n\n\n\n``send_private_message`` and ``send_stream_message`` both have the same parameters: ``message_info`` and ``content``, i.e. the function signature for the two aforementioned methods is ``send_[[private||stream]]_message(message_info, content)``. \n\n\n``message_info`` is the message meta-info dictionary that you acquire from the function callback that processes messages. ``content`` is the response that you want your bot to make.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/stephsamson/zulipbot", "keywords": "zulip bot api zulipbot", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "zulipbot", "package_url": "https://pypi.org/project/zulipbot/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zulipbot/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/stephsamson/zulipbot" }, "release_url": "https://pypi.org/project/zulipbot/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "The unofficial bot API for Zulip.", "version": "0.0.1" }, "last_serial": 1297814, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "11a62a61cde9dacb7099ad46c2ae97ba", "sha256": "d35ef8a69270c07df17cba2296348472d36da081d81d85258ed0737d3d7b3c65" }, "downloads": -1, "filename": "zulipbot-0.0.1.tar.gz", "has_sig": false, "md5_digest": "11a62a61cde9dacb7099ad46c2ae97ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6551, "upload_time": "2014-11-07T01:25:23", "url": "https://files.pythonhosted.org/packages/9a/a1/84bcd2a33f20e8617a2476f9266d3b19cbd3741d812a54d85c0e37b4ad96/zulipbot-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "11a62a61cde9dacb7099ad46c2ae97ba", "sha256": "d35ef8a69270c07df17cba2296348472d36da081d81d85258ed0737d3d7b3c65" }, "downloads": -1, "filename": "zulipbot-0.0.1.tar.gz", "has_sig": false, "md5_digest": "11a62a61cde9dacb7099ad46c2ae97ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6551, "upload_time": "2014-11-07T01:25:23", "url": "https://files.pythonhosted.org/packages/9a/a1/84bcd2a33f20e8617a2476f9266d3b19cbd3741d812a54d85c0e37b4ad96/zulipbot-0.0.1.tar.gz" } ] }