{"id":19439903,"url":"https://github.com/disqus/disqus-python","last_synced_at":"2025-04-06T22:09:15.156Z","repository":{"id":57418557,"uuid":"1103275","full_name":"disqus/disqus-python","owner":"disqus","description":"Disqus API bindings for Python","archived":false,"fork":false,"pushed_at":"2020-02-03T01:49:06.000Z","size":266,"stargazers_count":164,"open_issues_count":13,"forks_count":50,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-04-13T11:30:45.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://disqus.com/api/docs/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/disqus.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-11-22T19:25:33.000Z","updated_at":"2024-03-19T15:40:54.000Z","dependencies_parsed_at":"2022-09-13T08:01:04.797Z","dependency_job_id":null,"html_url":"https://github.com/disqus/disqus-python","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disqus%2Fdisqus-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disqus%2Fdisqus-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disqus%2Fdisqus-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disqus%2Fdisqus-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/disqus","download_url":"https://codeload.github.com/disqus/disqus-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557767,"owners_count":20958047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T15:27:16.006Z","updated_at":"2025-04-06T22:09:15.130Z","avatar_url":"https://github.com/disqus.png","language":"Python","readme":"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","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisqus%2Fdisqus-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdisqus%2Fdisqus-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisqus%2Fdisqus-python/lists"}