Question: How to curl the lemmy API?

https://lemmy.world/post/17059371

Question: How to curl the lemmy API? - Lemmy.World

I’ve seen these posts - https://lemmy.world/post/2499903 [https://lemmy.world/post/2499903] - https://lemmy.techhaven.io/post/31617 [https://lemmy.techhaven.io/post/31617] But actually I haven’t been able to figure out exactly how to get the posts a user has made in lemmy. I’ve seen this page but I think this is for a different lemmy instance, I’m not sure https://join-lemmy.org/api/interfaces/GetPosts.html [https://join-lemmy.org/api/interfaces/GetPosts.html] Can anyone point me to a documentation on how to make this?

I’ve found this more understandable.

I’ve also hacked together a quick thing for spamwaves that were happening last year here.

The purpose of that script is to ban, but there’re auth bits that might help you get a grasp on your task.

Authentication

Auth

Lemmy
+1 for lemmy.readme.io, it’s much easier to read than a JS lib documentation.
Looks like the best openapi front. I looked into using it, but it didn’t seem free. Too bad this one is outdated. Lemmys API has changed quiet a bit since then.
readme.com (aka readme.io) ain’t libre, but it has a free plan.
I also think it’s a bit on the heavy side, but what isn’t these days…

Ah yes, all though I ve never really experienced HTTP days in their full glory

I’ll look into using it. If it has a github action or easy way to publish it from cli