You are only browsing one thread in the discussion! All comments are available on the post page.
Return
olivier OP , 10 months ago Well, I’ve finally found a way using plemmy instead of Lemmy.py. Basically : from plemmy import LemmyHttp lemmy = LemmyHttp(‘https://my.lemmy.instance’) lemmy.login(‘username’,‘password’) lemmy.edit_community(community_id=XXX,banner=“http:/yyy.tld/img.jpg”)
Well, I’ve finally found a way using plemmy instead of Lemmy.py. Basically :
from plemmy import LemmyHttp
lemmy = LemmyHttp(‘https://my.lemmy.instance’)
lemmy.login(‘username’,‘password’)
lemmy.edit_community(community_id=XXX,banner=“http:/yyy.tld/img.jpg”)