this post was submitted on 13 Jun 2023
27 points (100.0% liked)
Emacs
1978 readers
1 users here now
Our infinitely powerful editor.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
https://codeberg.org/martianh/lem has some basics, functions returning plain JSON. i didn't do any auth, but if its oauth and so similar to mastodon.el, we cd also just move its auth code into the fedi.el library. and fedi-http.el is already set up to handle auth tokens.
discovering lemmy's query parameters is quite a pain for me, as i don't know rust.
That looks a promising start. I'll have a look into it when I have some time. I hope some others do too!
I don't know Rust either, but it does appear to be relatively easy to understand; could be worse anyhow.
It would be nice to have a fully documented API to work from: probably not a priority for the lemmy devs right now, I'd imagine.