I would like to be able to use the command line (curl) to get a list of communities I am currently subscribed to.
I know that there is a full-blown API, but it only briefly covers what it is possible with simple a curl request, and most of it seems to refer to an API that runs in javascript (which seems excessively complex for what I want to do?)
For subscribed communities you have to add an auth parameter (that you can obtain by POST'ing {username_or_email: "your_name", password: "your_password"} to /user/login, then extracting the jwt from the response) and type_=Subscribed.
A complete request would look like that:
While this is the correct syntax, in reality the API is broken and isn't returning communities (either filtered or sorted first) by their listingtype == "Subscribed"
If you're up for it, one last question: just running curl "https://mander.xyz/api/v3/community/list?auth=longstring&type_=Subscribed gives me only a few subscribed communities.
I can increase the number of subscribed communities that I get back, by adding &limit=.