{ "info": { "author": "Denis Rogov", "author_email": "rogovdv@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Communications :: Chat" ], "description": "# hipchat_notif\n\nhipchat_notif is [HipChat](https://www.hipchat.com) client library for sending notification using API v1.\n\n## VER. 0.2.3\n\nAdded the ability to change the message format.(Thanks to https://bitbucket.org/cou_z)\nmessage_format: Determines how the message is treated by our server and rendered inside HipChat applications.\n html - Message is rendered as HTML and receives no special treatment. Must be valid HTML and entities \n must be escaped (e.g.: & instead of &). May contain basic tags: a, b, i, strong, em, br, img, \n pre, code, lists, tables. Special HipChat features such as @mentions, emoticons, and image previews \n are NOT supported when using this format.\n text - Message is treated just like a message sent by a user. Can include @mentions, emoticons, pastes, \n and auto-detected URLs (Twitter, YouTube, images, etc)\n## Python version\n\n2.7\n3.4\n\n## Dependencies\n\n- requests>=2.3\n\n## Sample Code\n\n```python\nfrom hipchat_notif import *\n\nTOKEN = \"AUTH_TOKEN\" # Get token from https://hipchat.com/admin/api\nROOM_ID = 10000\nNOTIFICATION_NAME = \"NOTIFICATOR\" \n\n# Create a new instance.\n\nnotif = HipchatNotificator(TOKEN)\nnotif.notification_name = NOTIFICATION_NAME\nnotif.room = ROOM_ID\n\n# Send Alert notification \nnotif.alert(\"Alert\", message_format = \"text\")\n\n# Send Ok message\nnotif.ok(\"Not Alert\", message_format = \"html\")\n\n# Send message\nnotif.message(\"Message\")\n\n# Send Notification\nnotif.notif(\"Notification\")\n```\n\n### Correspondence table\n\n|Method | Notify | Color\n:----: | :----: | :----:\nalert() | True | red\nok() | False | green\nmessage() | False | yellow\nnotif() | True | gray", "description_content_type": null, "docs_url": null, "download_url": "https://bitbucket.org/rodevl/hipchat_notif/get/0.2.3.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/rodevl/hipchat_notif", "keywords": "HipChat,HipChat Client", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "hipchat_notif", "package_url": "https://pypi.org/project/hipchat_notif/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hipchat_notif/", "project_urls": { "Download": "https://bitbucket.org/rodevl/hipchat_notif/get/0.2.3.zip", "Homepage": "https://bitbucket.org/rodevl/hipchat_notif" }, "release_url": "https://pypi.org/project/hipchat_notif/0.2.3/", "requires_dist": null, "requires_python": null, "summary": "Simple Python library for the HipChat API v1", "version": "0.2.3" }, "last_serial": 1416187, "releases": { "0.2.1": [ { "comment_text": "built for Linux-3.13.0-35-generic-x86_64-with-glibc2.4", "digests": { "md5": "a2d92682b61430a503662a375f314a30", "sha256": "64873e08a87e8470fe346cb300b0a508bcc3daddd2978a064c49963e93dd369a" }, "downloads": -1, "filename": "hipchat_notif-0.2.1.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "a2d92682b61430a503662a375f314a30", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 5109, "upload_time": "2014-09-25T12:14:39", "url": "https://files.pythonhosted.org/packages/50/40/3a7f637e4e81f8679354b520baaa46ccd3ccbdd16837904afa5b7e5de819/hipchat_notif-0.2.1.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "960ed051ab8b6515ee0846318f8578e3", "sha256": "2a21c5a5a13d366b35bdc845aa700c79e944f5e6680fe8d75bcd61f9e5e506b3" }, "downloads": -1, "filename": "hipchat_notif-0.2.1.tar.gz", "has_sig": false, "md5_digest": "960ed051ab8b6515ee0846318f8578e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4002, "upload_time": "2014-09-25T12:14:36", "url": "https://files.pythonhosted.org/packages/83/83/c539ab2676d72d568c81e5f5c2b01a6b74b30f5d9b8fe1ace88b777d6c60/hipchat_notif-0.2.1.tar.gz" } ], "0.2.2": [], "0.2.3": [ { "comment_text": "", "digests": { "md5": "76b92449a7050dd9d41824953a33173a", "sha256": "eabd6954e91ace90ba85faad6bbc56928e14e032fb317b86404ca200a110608c" }, "downloads": -1, "filename": "hipchat_notif-0.2.3.tar.gz", "has_sig": false, "md5_digest": "76b92449a7050dd9d41824953a33173a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4383, "upload_time": "2015-02-09T13:29:52", "url": "https://files.pythonhosted.org/packages/5d/82/83dc05633ab9bb1cebc6c136cf248a95c39a1053d22a71b2af47235ac2e4/hipchat_notif-0.2.3.tar.gz" }, { "comment_text": "", "digests": { "md5": "f6aa0597b5f3e0b8be1615d2be0e9252", "sha256": "f04e765206520f79ad9f82e7ea6331f13eb0931c718c63ed31c0d909239d089d" }, "downloads": -1, "filename": "hipchat_notif-0.2.3.zip", "has_sig": false, "md5_digest": "f6aa0597b5f3e0b8be1615d2be0e9252", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8884, "upload_time": "2015-02-09T13:29:50", "url": "https://files.pythonhosted.org/packages/7e/74/4a082488c9a2b94a61aec1863343f2da79fd05494b84969cac1e8fbc6bf1/hipchat_notif-0.2.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "76b92449a7050dd9d41824953a33173a", "sha256": "eabd6954e91ace90ba85faad6bbc56928e14e032fb317b86404ca200a110608c" }, "downloads": -1, "filename": "hipchat_notif-0.2.3.tar.gz", "has_sig": false, "md5_digest": "76b92449a7050dd9d41824953a33173a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4383, "upload_time": "2015-02-09T13:29:52", "url": "https://files.pythonhosted.org/packages/5d/82/83dc05633ab9bb1cebc6c136cf248a95c39a1053d22a71b2af47235ac2e4/hipchat_notif-0.2.3.tar.gz" }, { "comment_text": "", "digests": { "md5": "f6aa0597b5f3e0b8be1615d2be0e9252", "sha256": "f04e765206520f79ad9f82e7ea6331f13eb0931c718c63ed31c0d909239d089d" }, "downloads": -1, "filename": "hipchat_notif-0.2.3.zip", "has_sig": false, "md5_digest": "f6aa0597b5f3e0b8be1615d2be0e9252", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8884, "upload_time": "2015-02-09T13:29:50", "url": "https://files.pythonhosted.org/packages/7e/74/4a082488c9a2b94a61aec1863343f2da79fd05494b84969cac1e8fbc6bf1/hipchat_notif-0.2.3.zip" } ] }