Using discourse-python-sdk with discourse.local

Python integration

Install

pip install discourse-python-sdk

Quick start

import discourse-python-sdk

client = discourse_python_sdk.Client("YOUR_API_KEY")
Get the top topics filtered by period
curl \
  http://discourse.local/top.json
Get site info
curl \
  http://discourse.local/site.json
Get a list of tags
curl \
  http://discourse.local/tags.json
SDK on GitHub 📄 API Docs
SDK
discourse-python-sdk
Python
API
discourse.local
discourse.local

At a glance

Language Python
Endpoints84
Base URLhttp://discourse.local