this post was submitted on 20 Jun 2023
6 points (100.0% liked)

Asklemmy

49239 readers
851 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 6 years ago
MODERATORS
 

Suppose I wanted to make a ncurses client for Lemmy. Is there an api to interect with communities/posts/voting etc?

top 5 comments
sorted by: hot top controversial new old

There is. See here. IDK how good the API documentation is (haven't checked), but it should be linked in that page.

[โ€“] PriorProject@lemmy.world 2 points 2 years ago

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.

[โ€“] aeharding@lemmy.world 1 points 2 years ago
[โ€“] Stumblinbear@pawb.social 1 points 2 years ago

There's a JS client, or you can generate one from the OpenAPI spec I put together: https://github.com/Stumblinbear/lemmy-openapi

[โ€“] jballs@sh.itjust.works -1 points 2 years ago

There's got to be for apps like Jerboa to work.