c/asklemmy · by lntl@lemmy.sdf.org · 3yLemmy API? Suppose I wanted to make a ncurses client for Lemmy. Is there an api to interect with communities/posts/voting etc? 46 points · 6 comments · view on lemmy.world
6 Comments
sneakyninjapants@sh.itjust.works · 16 pts · 3y
There is. See here. IDK how good the API documentation is (haven't checked), but it should be linked in that page.
aeharding@lemmy.world · 14 pts · 3y
Absolutely!
https://join-lemmy.org/api/classes/LemmyHttp.html
jballs@sh.itjust.works · 10 pts · 3y
There's got to be for apps like Jerboa to work.
PriorProject@lemmy.world · 4 pts · 3y
This is the wrong community for this question, it's an open-ended discussion forum like AskReddit... not a support forum for Lemmy.
That said, check out the v18 API before you start writing a bot. It's going to change in a big way shortly.
Stumblinbear@pawb.social · 4 pts · 3y
There's a JS client, or you can generate one from the OpenAPI spec I put together: https://github.com/Stumblinbear/lemmy-openapi
Rain@lm.melonbread.dev · 4 pts · 3y
https://join-lemmy.org/docs/en/contributors/04-api.html
mremugles@lemmy.world · 3 pts · 3y