this post was submitted on 16 Jun 2023
15 points (100.0% liked)
Programming
13389 readers
15 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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..Hi, I'm well aware of those APIs, but the idea was to find a unified way using ActivityPub. As it stands AP seems to actually have this glaring omission at its core. I'm somewhat baffled how this skipped past so many interations. What you mentioned is certainly a valid option to access data on lemmy. But it won't work on Mastodon, or any other service only linked via ActivityPub Federation. And that's a problem. It splits the network apart at the seams.