celiao / tmdbsimple

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

Movies credits incorrect request #84

Closed busterbeam closed 2 years ago

busterbeam commented 2 years ago

The request the library makes is https://api.themoviedb.org/3/movie/0/credits?id=13448&api_key={obfucated_api_key} when the library should make the request https://api.themoviedb.org/3/movie/13448/credits&api_key={obfucated_api_key}

I think... by reading this link. Please check this

celiao commented 2 years ago

The movie_id is located before credits, like your second URL, in movies.py:

        'credits': '/{id}/credits',

Also, in the unit tests, the call to test_movies_credits passes.

Can you show me with a snippet of python code that a call to tmdbsimple.Movie(id).credits() isn't working?

celiao commented 2 years ago

Feel free to reopen this issue, if you are still experiencing problems after reviewing the above.