Using PHP library to retrieve latest topics from a specific category

Hello everyone!
I just found this library and I’m ready to use it. My goal is to get the latest 20 topics from a specific category (actually I’ll use some kind of filtering for that from which category to get these topics based on user choice, but for now I’ll start with 1 default category). Could someone give me advice as to how I can do this in the most correct way possible using this library?

Thanks in advance,
Peter :sunglasses:

This may be the original: GitHub - communiteq/discourse-api-php: PHP API client for Discourse

The Communiteq guys are part of this community and may be able to talk to it.

This one might be better maintained and more modern Discourse SSO and API Helper for PHP

1 Like