celiao / tmdbsimple

A wrapper for The Movie Database API v3.
GNU General Public License v3.0
582 stars 121 forks source link

TV watch_providers does not return response #97

Closed georgep9 closed 10 months ago

georgep9 commented 10 months ago

The TV module function watch_providers does not return a response value.

Here's a snippet of the function in /tmdbsimple/tv.py

...
    def watch_providers(self, **kwargs):
        """
        Get a list of the availabilities per country by provider for tv.

        Args:
            None

        Returns:
            A dict respresentation of the JSON returned from the API.
        """
        path = self._get_id_path('watch_providers')

        response = self._GET(path, kwargs)
        self._set_attrs_to_values(response)
...
georgep9 commented 10 months ago

Fixed in #98

georgep9 commented 10 months ago

duplicate of #88 and PRs #93 #96