API

Proxy

dalec_discourse.proxy.category_show(category_id, **kwargs)
class dalec_discourse.proxy.DiscourseProxy(*args: Any, **kwargs: Any)

Discourse dalec proxy to fetch the last messages.

app = 'discourse'
_fetch(nb: int, content_type: str, channel: str, channel_object: str) Dict[str, dict]
_fetch_latest_topics(nb, channel=None, channel_object=None)

Get latest topics from entire forum or category

_fetch_categories(nb, channel=None, channel_object=None)

Get categories

_fetch_user_topics_and_replies(nb, channel=None, channel_object=None)

Get latest topics and replies of a given user identified by its username channel_object