{ "info": { "author": "Sam Morgan", "author_email": "sama4mail@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# discourse\n## A Python wrapper of the Discourse API\n\n[![Version](https://img.shields.io/pypi/v/discourse)](https://pypi.org/project/discourse/)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n\nThis package allows Python developers to write software that makes use of the Discourse API. Functions available in the API are mirrored in this package as closely as possible, translating JSON responses to Python objects. You can find the current documentation for the Discourse API here:\n\n[Discourse API Documentation](http://docs.discourse.org/)\n\n### Installing\n\n```\npip install discourse\n```\n\n### Quick Start\n\n```python\nimport discourse\n\nclient = discourse.Client(\n host='http://127.0.0.1:3000/',\n api_username='discourse1',\n api_key='714552c6148e1617aeab526d0606184b94a80ec048fc09894ff1a72b740c5f19',\n)\n\nlatest = client.get_latest_topics('default')\n\nfor topic in latest:\n print(topic.title)\n```\n\nFull documentation for this package is not yet available. One of the milestones is complete documentation coverage, including currently undocumented portions of the Discourse API. For now, I encourage you to read the source code and use the Discourse API docs, it should be fairly straightforward.\n\nPull requests welcome!\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/samamorgan/discourse", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "discourse", "package_url": "https://pypi.org/project/discourse/", "platform": "", "project_url": "https://pypi.org/project/discourse/", "project_urls": { "Homepage": "https://github.com/samamorgan/discourse" }, "release_url": "https://pypi.org/project/discourse/0.1.2/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "A Python wrapper of the Discourse API", "version": "0.1.2" }, "last_serial": 5958099, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "66203ca33597d56fd43757aed765887a", "sha256": "94d83cc1004248a725b5c20e749791cf680f5ff21aea16906f6c17f46e4a388b" }, "downloads": -1, "filename": "discourse-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "66203ca33597d56fd43757aed765887a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 21153, "upload_time": "2019-09-18T14:34:37", "url": "https://files.pythonhosted.org/packages/28/f4/38e4bfb1bc8ea9e248b780c8ca24ffeb3268063fbc9ea9e2d52ce2a744e1/discourse-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5f5bf28827110834cfd2011fe0995691", "sha256": "8593f1e99b8b6d819297b85e0b1e6c9788bc50da1f0595e3da70e4cc3842dd3c" }, "downloads": -1, "filename": "discourse-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5f5bf28827110834cfd2011fe0995691", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5645, "upload_time": "2019-09-18T14:34:39", "url": "https://files.pythonhosted.org/packages/07/40/93817035cf8aa4eb0fa352745dfdc322182f571e8975481d3114871a6997/discourse-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "54ba11d5765cfb6123595f13c6ff94e7", "sha256": "30665ed15fb1a0d763748bf7f350aad2a5f127ce970088483216f39c785c35e2" }, "downloads": -1, "filename": "discourse-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "54ba11d5765cfb6123595f13c6ff94e7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21388, "upload_time": "2019-10-06T07:03:11", "url": "https://files.pythonhosted.org/packages/d0/b6/f8b4074b450ffd7f439e7f7288d5a2beb4abd96c82d97eb389f8124f28b4/discourse-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5f56aee2a761b0b46dd5dce914dc06b6", "sha256": "98b7526785aba05d261d8ec0cb965ff0a25badb4641b520f7a84559811794873" }, "downloads": -1, "filename": "discourse-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5f56aee2a761b0b46dd5dce914dc06b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5782, "upload_time": "2019-10-06T07:03:13", "url": "https://files.pythonhosted.org/packages/60/6d/7042402268b84aba7bc83477c2b0f6dccef6a0ee054be97a8cf6ec1a3ce4/discourse-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "2fececfeec928f4dfc423af74f30991e", "sha256": "fe7c5c002f89f283ca41237b62bdaba0a3be45fa78c0c68dc446b2eb0eaa0d2a" }, "downloads": -1, "filename": "discourse-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "2fececfeec928f4dfc423af74f30991e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21661, "upload_time": "2019-10-11T02:54:48", "url": "https://files.pythonhosted.org/packages/a2/3d/725825efa727479ef54aa3a018394589b63b631ee2636a59fa6ae885d02d/discourse-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c762e202c6f00f26f941816848aeb5b3", "sha256": "706b8194119168d3a4c193023e8eadfb348b08bf1e8b86468f229c9fa4278100" }, "downloads": -1, "filename": "discourse-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c762e202c6f00f26f941816848aeb5b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6744, "upload_time": "2019-10-11T02:54:50", "url": "https://files.pythonhosted.org/packages/71/2e/634a9d0e56115785be4a109bb6f56eb7f9ff38400bd39b0e54e023cb5113/discourse-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2fececfeec928f4dfc423af74f30991e", "sha256": "fe7c5c002f89f283ca41237b62bdaba0a3be45fa78c0c68dc446b2eb0eaa0d2a" }, "downloads": -1, "filename": "discourse-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "2fececfeec928f4dfc423af74f30991e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21661, "upload_time": "2019-10-11T02:54:48", "url": "https://files.pythonhosted.org/packages/a2/3d/725825efa727479ef54aa3a018394589b63b631ee2636a59fa6ae885d02d/discourse-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c762e202c6f00f26f941816848aeb5b3", "sha256": "706b8194119168d3a4c193023e8eadfb348b08bf1e8b86468f229c9fa4278100" }, "downloads": -1, "filename": "discourse-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c762e202c6f00f26f941816848aeb5b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6744, "upload_time": "2019-10-11T02:54:50", "url": "https://files.pythonhosted.org/packages/71/2e/634a9d0e56115785be4a109bb6f56eb7f9ff38400bd39b0e54e023cb5113/discourse-0.1.2.tar.gz" } ] }