Possible to somehow fetch and display Discourse badges on an external site (e.g. Wordpress)?

We are looking into the possibility of using Discourse on one of our large Wordpress membership sites.

One of the things we’re designing at the moment is a badge/gamification aspect on the main site. We’d like to somehow fetch the user’s badge status from Discourse to display this as well.

Is this achievable? Can anyone advise?

1 Like

Hi,

UI routes are also JSON routes, so you can fetch your user badges from https://meta.discourse.org/u/donovan/badges.json.

8 Likes

Perfect. Thanks for this.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.