this post was submitted on 04 Jul 2023
7 points (100.0% liked)
Lemmy Support
157 readers
3 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Wait, I see, the fetch limit is 50...
Any ideas how I could easily get all communities I subscribed to?
Ok, I'll keep the monologue going: turns out I can loop through pages with that limit:
curl "https://mander.xyz/api/v3/community/list?auth=longstring&type_=Subscribed&limit=50&page=1
And then
curl "https://mander.xyz/api/v3/community/list?auth=longstring&type_=Subscribed&limit=50&page=2
Etc.