Since it’s a MediaWiki page you can get Markdown source of the page with appending action=raw query to the URL.
Japanese Speaker. I can read/write some English but not well, so corrections are always appreciated.
プログラミングや音楽に興味があります。最近はEmacsでよく遊んでます。
- 0 Posts
- 5 Comments
Joined 3 years ago
Cake day: June 18th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
It seems OAuth2 hasn’t implemented yet. At this time, to get
authvalue, username and password are required:# Python url = 'https://<instance_name>/user/login' data = {'username_or_email': username_or_email, 'password': password} response = requests.post(url, json=data) json = response.json() auth = json['jwt']Since the endpoint recieves JSON then returns JSON, you may need to send following HTTP headers explicitly:
Content-Type: application/json Accept: application/json
There doesn’t seem to be a way to access eg the communities tab via activitypub? Any Help?
If you’re writing client-to-server part (not server-to-server part), try
curl 'https://<lemmy-instance>/api/v3/community/list?sort=Hot', and an API client libraries written in Python..




Roots of Pacha - well polished, stress free farming sim. Highly recommended if you like Stardew Valley or Story of Seasons.