21
submitted 3 years ago* (last edited 3 years ago) by travis@lemmy.blue to c/python@programming.dev

Hello everyone!

I'm here to share a project I've been working on, Plemmy. Plemmy is a Python package for accessing the Lemmy API, specifically through LemmyHttp.

Feel free to offer advice and contribute!

Edit: version 0.2.0 released, all LemmyHttp operations are supported! (Most methods still need testing)

you are viewing a single comment's thread
view the rest of the comments
[-] jnovinger@programming.dev 2 points 3 years ago* (last edited 3 years ago)

Looking at the LemmyHttp docs, mentioned above, it looks like you probably want to use the ListCommunities resource with the type_ ListingType of "Subscribed".

To do that with Plemmy, it looks like you want to use LemmyHttp(...).list_communities(type_='Subscribed').

Fair warning, I'm making this comment just from reading docs and source code, I haven't had a chance to try this yet.

this post was submitted on 20 Jun 2023
21 points (100.0% liked)

Python

8022 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 3 years ago
MODERATORS