Kometa-Team / ArrAPI

A lightweight Python library for Radarr and Sonarr API.
https://arrapi.kometa.wiki
MIT License
44 stars 7 forks source link

Feature Request: IMAGES Property missing for MOVIE object en SERIES object #5

Closed marc0janssen closed 2 years ago

marc0janssen commented 2 years ago

I would like the "images" property to be added to the movie object and the series object.

meisnate12 commented 2 years ago

this is an easy add but in the meantime you can access the _data attribute of the object for the full dictionary data used to build the object which will include all fields that are not made into attributes

marc0janssen commented 2 years ago

Thanks for the tip… That fixes it for now…

Nice API… converting my project to your API...

Sorry for all the ISSUES I posted.. hope you can fixes, look at them! On 16 Dec 2021, 14:59 +0100, meisnate12 @.***>, wrote:

this is an easy add but in the meantime you can access the _data attribute of the object for the full dictionary data used to build the object which will include all fields that are not made into attributes — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

meisnate12 commented 2 years ago

not a problem at all and ill check them all out when i can this is just the only one i had an immediate solution for

marc0janssen commented 2 years ago

Your tip also “fixed” my “added”-property for the RADARR and SONARR objects. Thanks! On 16 Dec 2021, 15:44 +0100, meisnate12 @.***>, wrote:

not a problem at all and ill check them all out when i can this is just the only one i had an immediate solution for — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

meisnate12 commented 2 years ago

yea every object in the api has its base data stored in that attribute for reasons just like this!

marc0janssen commented 2 years ago

Question.: Can this new IMAGES attribute just be a LIST of STRINGS??

marc0janssen commented 2 years ago

Nevermind ... dir() helped me...

Maybe adjust the docs and add the image object