{ "info": { "author": "shackra", "author_email": "elcorreo@deshackra.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development" ], "description": "disqus-python\n~~~~~~~~~~~~~\n\n.. image:: https://travis-ci.org/disqus/disqus-python.svg?branch=master\n :target: https://travis-ci.org/disqus/disqus-python\n\nLet's start with installing the API:\n\n\tpip install disqus-python\n\nUse the API by instantiating it, and then calling the method through dotted notation chaining::\n\n\tfrom disqusapi import DisqusAPI\n\tdisqus = DisqusAPI(secret_key, public_key)\n\tfor result in disqus.get('trends.listThreads'):\n\t print result\n\nParameters (including the ability to override version, api_secret, and format) are passed as keyword arguments to the resource call::\n\n\tdisqus.get('posts.details', post=1, version='3.0')\n\nPaginating through endpoints is easy as well::\n\n\tfrom disqusapi import Paginator\n\tpaginator = Paginator(api.get, 'trends.listThreads', forum='disqus')\n\tfor result in paginator:\n\t print result\n\n\t# pull in a maximum of 500 results (this limit param differs from the endpoint's limit param)\n\tfor result in paginator(limit=500):\n\t print result\n\nDocumentation on all methods, as well as general API usage can be found at https://disqus.com/api/docs/\n", "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/shackra/disqus-python", "keywords": null, "license": "Apache License 2.0", "maintainer": null, "maintainer_email": null, "name": "shackra-disqus-python", "package_url": "https://pypi.org/project/shackra-disqus-python/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/shackra-disqus-python/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/shackra/disqus-python" }, "release_url": "https://pypi.org/project/shackra-disqus-python/0.5.0/", "requires_dist": null, "requires_python": null, "summary": "Disqus API Bindings, updated and compatible with Python 3.x", "version": "0.5.0" }, "last_serial": 2101898, "releases": { "0.5.0": [ { "comment_text": "", "digests": { "md5": "f2af4cef68bc73245a17769008a213e0", "sha256": "5169e566f9dd5c3a7365238f47cbc3c6b36ad3202a767057dc59d54497896927" }, "downloads": -1, "filename": "shackra-disqus-python-0.5.0.tar.gz", "has_sig": false, "md5_digest": "f2af4cef68bc73245a17769008a213e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12614, "upload_time": "2016-05-06T01:51:23", "url": "https://files.pythonhosted.org/packages/fb/f4/3432d5f5c781e55438e79f18825f537920e47686f5089c2f3816b0383615/shackra-disqus-python-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f2af4cef68bc73245a17769008a213e0", "sha256": "5169e566f9dd5c3a7365238f47cbc3c6b36ad3202a767057dc59d54497896927" }, "downloads": -1, "filename": "shackra-disqus-python-0.5.0.tar.gz", "has_sig": false, "md5_digest": "f2af4cef68bc73245a17769008a213e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12614, "upload_time": "2016-05-06T01:51:23", "url": "https://files.pythonhosted.org/packages/fb/f4/3432d5f5c781e55438e79f18825f537920e47686f5089c2f3816b0383615/shackra-disqus-python-0.5.0.tar.gz" } ] }