"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Lemmy Development kephalos 1y ago 100%

Lemmy API: How to obtain the community ID

I want to write a simple Lemmy Command line client that posts to a community.

There is https://join-lemmy.org/api/interfaces/CreatePost.html but it expects a community ID community_id, I would have expected that I can get the community ID by community name / or URL but GetCommunity does not seem to offer this https://join-lemmy.org/api/interfaces/GetCommunity.html#id

Any ideas?

1
0
Comments 0