olivier OP ,
@olivier@lemmy.fait.ch avatar

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”)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • wartaberita
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • TheResearchGuardian
  • Ask_kbincafe
  • KbinCafe
  • Testmaggi
  • Socialism
  • feritale
  • oklahoma
  • SuperSentai
  • KamenRider
  • All magazines