{ "info": { "author": "Gennady Aleksandrov", "author_email": "gevial@yahoo.com", "bugtrack_url": null, "classifiers": [], "description": "Rockethook\n========================\n\nSimple library for posting to Rocket.Chat via webhooks a.k.a. integrations\n\nInstallation\n++++++++++++\nRockethook can be installed from PyPi: :code:`pip install rockethook`\n\nUsage\n+++++\n\nThe idea behind this library is to create Webhook object and then post Messages with it.\nYou can create Message object and fulfill it with content (text and/or attachments) later.\n\nOr you can just :code:`Webhook.quick_post('Your message')` without bothering with Message objects.\n\nIt is a very small library indeed, so the best explanation is an example of usage:\n\n>>> import rockethook\n>>> my_hook = rockethook.Webhook('https://rocketchat.example.com', my_token)\n>>> msg = rockethook.Message(icon_url='http://example.com/icon.png')\n>>> msg.append_text('First line.')\n>>> msg.append_text('Second line.')\n>>> msg.add_attachment(\n... title='Attach',\n... title_link='http://example.com',\n... image_url='http://example.com/img.png'\n... )\n>>> my_hook.post(msg)\n\nTo override default webhook's channel:\n\n>>> msg = rockethook.Message(channel=\"#my-channel\")\n\nTo quickly post simple text messages:\n\n>>> my_hook.quick_post('Hi!')\n>>> my_hook.quick_post('Call me back\\nPlease')", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gevial/rockethook", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "rockethook", "package_url": "https://pypi.org/project/rockethook/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rockethook/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/gevial/rockethook" }, "release_url": "https://pypi.org/project/rockethook/1.0.3/", "requires_dist": null, "requires_python": null, "summary": "Simple library for posting to Rocket.Chat via webhooks a.k.a. integrations.", "version": "1.0.3" }, "last_serial": 2654933, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "27d57f142f61655dde1c68adde0efe4d", "sha256": "46e238420f9b1faf9562a954467c3f5d87ad0e92dc24fbd85248d5f4346dd5e7" }, "downloads": -1, "filename": "rockethook-1.0.1.tar.gz", "has_sig": false, "md5_digest": "27d57f142f61655dde1c68adde0efe4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2654, "upload_time": "2016-03-04T09:44:21", "url": "https://files.pythonhosted.org/packages/5f/c3/d1b6310cfee28e75a030035a35ffbad47e038e8fcd4087cf51195a39fc6a/rockethook-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "34672bdf0e5094d59368586dd17868f2", "sha256": "2511f3e888b486a60bf5ded8e9ab51bf894452cdd6ad82962749693a42b7688b" }, "downloads": -1, "filename": "rockethook-1.0.2.tar.gz", "has_sig": false, "md5_digest": "34672bdf0e5094d59368586dd17868f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2860, "upload_time": "2016-11-30T15:29:14", "url": "https://files.pythonhosted.org/packages/c9/3c/78c9a7b2f14aed693f917f6d7630936a77c4bcfa5b0686ca89c27faa3be9/rockethook-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "1a81a3898530cd23920abe2b2899b79a", "sha256": "16c5a7d73390783e039b167d0e5759387761ee44641f825c6c2690aebd12e453" }, "downloads": -1, "filename": "rockethook-1.0.3.tar.gz", "has_sig": false, "md5_digest": "1a81a3898530cd23920abe2b2899b79a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2907, "upload_time": "2017-02-20T13:55:56", "url": "https://files.pythonhosted.org/packages/9c/e3/6753aa7b7b8d481ea0bcb5d2d7a4cfe3680ada9a5bb365383fb75d1e6303/rockethook-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1a81a3898530cd23920abe2b2899b79a", "sha256": "16c5a7d73390783e039b167d0e5759387761ee44641f825c6c2690aebd12e453" }, "downloads": -1, "filename": "rockethook-1.0.3.tar.gz", "has_sig": false, "md5_digest": "1a81a3898530cd23920abe2b2899b79a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2907, "upload_time": "2017-02-20T13:55:56", "url": "https://files.pythonhosted.org/packages/9c/e3/6753aa7b7b8d481ea0bcb5d2d7a4cfe3680ada9a5bb365383fb75d1e6303/rockethook-1.0.3.tar.gz" } ] }