Suppose I wanted to make a ncurses client for Lemmy. Is there an api to interect with communities/posts/voting etc?
You must log in or register to comment.
There is. See here. IDK how good the API documentation is (haven’t checked), but it should be linked in that page.
There’s a JS client, or you can generate one from the OpenAPI spec I put together: https://github.com/Stumblinbear/lemmy-openapi
There’s got to be for apps like Jerboa to work.
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.