Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)B
Posts
19
Comments
39
Joined
6 yr. ago

  • cool bananas.

  • lem.el also implements a client, similar in design to mastodon.el. i did the api layer so that others could implement other kinds of interfaces such as a gnus backend if they desired.

  • does that really matter? its clear that lem.el is an Emacs library, and is thus named as such (.el), and is thus not a standalone piece of software. I really don't think its a problem. there are no Emacs libraries with the same name.

  • from a quick check, i have C-p and C-S-B working, but C-n and C-s and (many i think) others not working. ff 114 on linux.

  • thanks a lot for this

  • yeah, the relative ones are always on another instance it seems. if you strip the '/c/' you can hit the '/community' endpoint with the 'comm@inst.ance' part as the name parameter and it returns the community_view for it. works fine.

  • thanks for clarifying, so i guess my other link type is an error on my end somewhere...

  • i'm just unsure how to actually correctly fetch the next set items in order to update display, whether for scrolling or paginating. for my client i just want to append at the bottom of the screen.

  • hm, yes but they're rate limits, not the maximum values that can be passed to the limit param. they must be different because my rate limits are post: 6, comment: 6, and that's definitely not the max value for limit for fetching those items.

  • but i figure the whole community is already about best practices the API / endpoints

  • i'm building a client, happy to help if i can, also to receive help! main issues i have had so far is how to actually use a number of the methods' parameters, like limit (whats the max value?), page (how does pagination actually work?), etc. so far i have been storing any useful info about the API (like the valid values for a given type) in my own lists then querying them in my code.

  • max comments appears to be 50? "fetch" (search?) limit is 50.

  • nvm i worked it out: resolveObject is the endpoint to chase in the docs.

  • (my post has URLs autocorrected to URLS, strange)

  • ah, Lenny. I really love Lenny.

  • actually it would be very helpful to know the maximum value for any of the 'number' parameters in the API.

  • so "path" is a decimal separated list of comment ids? docs say nothing, but it looks like that.

  • thanks for the clear info. i think i'd missed the All type_. now off to find the path attribute.

  • I have quite a few endpoints working now, each mostly just with the basic options implemented, and its easy to add endpoints with a handy macro i wrote. There are still quite a few quirks with lemmy itself that i'm struggling to work out, like how to search for my second account on another instance and actually have it appear in results. I might ask in a support room. The type-heavy rust and ts code is super foreign to me, it's also very large. Moreover, the various documentation links, another one is https://join-lemmy.org/api/classes/LemmyHttp.html, sometime contradict each other. Maybe having the basics down I cd start on some necrco diy interface. [posted and edited via lem.el]