devopsarr / radarr-py

python SDK for Radarr
Mozilla Public License 2.0
3 stars 1 forks source link

MovieLookupApi.get_movie_lookup returns None #71

Open javaisbetterthanpython opened 3 months ago

javaisbetterthanpython commented 3 months ago

All three of these functions return None instead of providing a MovieResource object, as expected. All three of these should be returning information about the movie, based on either the term or the imdb or tmdb IDs.

get_movie_lookup get_movie_lookup_imdb get_movie_lookup_tmdb

Fuochi commented 3 months ago

Hi, Thanks for opening the issue. I agree with you, however the swagger file they produce https://github.com/Radarr/Radarr/blob/7ea69183273bc25317ef2f18006d6f9e22631436/src/Radarr.Api.V3/openapi.json#L5472-L5535 doesn't. I'll do the same I do for sonarr here: https://github.com/devopsarr/sdk-generator/blob/a0bb41dc526480ba980195d4b44ea0edd072e0c6/pre-generation-scripts/fixes.py#L34-L45. If you want to open a pr, be my guest! Otherwise I'll try to do that in April!