Lemmy API Examples

3 years ago by megaman1970 to c/programming

I'm looking for examples of calls to the Lemmy API.. I've been to the following link in the documentation:

https://join-lemmy.org/...

However I don't see any direct examples of uses of the API for common cases, like creating a post, creating a comment or getting either type of item. Some of the linked documentation from that page points to what I believe is typescript code for interfaces, but that does not really have examples of actually calling those interfaces. I can make some logical guesses at to what the calls should be, but I don't have a way to really verify this yet.

Does anyone have some working examples they can post?

load all comments
ta_leadran_orm 6 points 3 years ago path: 0 158372, hotness: undefined, score: 6, children: 0
programming
programming

@beehaw.org

login for more options
3347
186
1

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

go to feed...