you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 insightful - 3 fun4 insightful - 2 fun5 insightful - 3 fun -  (0 children)

Easier to use with Python. I suppose you understand JSON. We will get the /s/MeanwhileOnReddit moderators.

import requests

base_url = 'https://saidit.net'
r = requests.get(base_url + '/s/MeanwhileOnReddit/about/moderators/.json').json()
for mod in r['data']['children']:
    print(mod['name'])

That will return:

d3rr
cynical_americano

This is just a small example. You can make post, put, get, and delete requests too.