# Parse groups and their member count

**URL:** https://meta.discourse.org/t/parse-groups-and-their-member-count/234515
**Category:** Support
**Created:** [July 30, 2022, 12:58pm UTC](https://meta.discourse.org/t/parse-groups-and-their-member-count/234515 "2022-07-30T12:58:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![AquaL1te](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aqual1te/32/201966_2.png) [@AquaL1te](https://meta.discourse.org/u/AquaL1te)
#### Post date: [July 30, 2022, 12:58pm UTC](https://meta.discourse.org/t/parse-groups-and-their-member-count/234515/1 "2022-07-30T12:58:10Z")

</div>

I would like to know how I could parse a group list like the one below:

> **[TZM Forum](https://tzm.one/g)**
>
> The Zeitgeist Movement (TZM) is a global grassroots movement advocating for a post-scarcity society using the scientific method applied to social concern.

And then retrieve the information like this:

- chapter\_netherlands (6)
- chapter\_poland (1)
- etc.

For topics we can do amazing things like [raw format topics](https://forum.fairphone.com/raw/48676/1) and then parse that info. I want to be able to parse the group data. The goal is to use that information and display it on a map. Is there a nice way to request this info from the site? Or do I have to web carve it out of there with e.g. Python?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [July 30, 2022, 1:08pm UTC](https://meta.discourse.org/t/parse-groups-and-their-member-count/234515/2 "2022-07-30T13:08:03Z")

</div>

> [@AquaL1te](#):
>
> Is there a nice way to request this info from the site?

Discourse API covers 100% of the app, since we also use it for the the SPA app. You can learn how to use it with [How to reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576).

In this particular case the endpoint is [https://forum.tzm.community/g.json](https://forum.tzm.community/g.json)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 29, 2022, 1:08pm UTC](https://meta.discourse.org/t/parse-groups-and-their-member-count/234515/3 "2022-08-29T13:08:39Z")

</div>

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