Json feed for listing users according their badges


(Carlo) #1

Hi everyone.

I’m already using Discourse for my Forum with another CMS.
I’d like to integrate Discourse feeds into my design, and I’m already using the Json feed “posts.json” which works great.

Ideally, I’d like to get the user list of my forum.
I think it would be great to be able to sort them according their badges

Example:
discourse.com/badges/2/member.json
discourse.com/badges/11/first-like.json

Is there any plan to create these json feed ?
If not, how hard would it be to create such json feeds ?

Thanks


(Jay Pfaffman) #2

Those should be available. Search “reverse engineer API”. Then look at the pages that get those badge data.


(Carlo) #3

Thanks I will check that


(Jay Pfaffman) #4

Here:

https://meta.discourse.org/user_badges.json?badge_id=10 

https://meta.discourse.org/user_badges.json?badge_id=10


(Carlo) #5

Thank you! It’s exactly what I was looking for :hugs:


(Erlend Sogge Heggen) #6