Skip to main content

A Python wrapper of the Discourse API

Project description


A Python wrapper of the Discourse API

Version License: GPL v3

This 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:

Discourse API Documentation


pip install discourse

Quick Start

import discourse

client = discourse.Client(

latest = client.get_latest_topics('default')

for topic in latest:

Full 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.

Pull requests welcome!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for discourse, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size discourse-0.1.1.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View
Filename, size discourse-0.1.1-py3-none-any.whl (21.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page