this post was submitted on 20 Jun 2023
46 points (92.6% liked)

Asklemmy

43503 readers
2081 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_[email protected]~

founded 5 years ago
MODERATORS
 

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

all 7 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 16 points 1 year ago

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

[โ€“] aeharding 14 points 1 year ago
[โ€“] [email protected] 10 points 1 year ago

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

[โ€“] PriorProject 4 points 1 year 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.

[โ€“] [email protected] 4 points 1 year ago

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

[โ€“] [email protected] 4 points 1 year ago