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’s an API, and generated JS bindings, and docs generated from those JS bindings.
I was planning on looking into generating generic docs or C# bindings from the server Rust code annotations that are being used for generating the JS bindings.
For now, you can try that, or orient yourself on the JS docs even if you won’t use JS.
There’s a JS client, or you can generate one from the OpenAPI spec I put together: https://github.com/Stumblinbear/lemmy-openapi