Hello, Unfortunately I'm unable to get any results when using the credits() method. When the method is called, it runs, but all it displays is "TMDb Obj" , nothing related to the cast or the crew. How can I solve this? , What's the problem here? Thanks in advance. a picture of the code, If it's doesn't display, just ignore it.
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την talestalker
στις 13 Αύγουστος 2019 στις 10:13 ΕΊΜΑΙ
We can only help you to specify correct API query, if you are using some wrapper library, you must contact its author. As for the credits method, you must specify correct credit_id, which you will find in TV or movie credits. E.g.:
You can call movie credits API method to get a list of actors for movie Hanabi:
Which will return json object:
And then you can call credits method for Takeshi Kitano character:
Which will return json with detailed information:
Απάντηση από τον/την NourWakaf
στις 13 Αύγουστος 2019 στις 10:30 ΕΊΜΑΙ
I think in python it's a bit different, in python it says you need to call credits method and add the movie id as a parameter, so basically I was calling it like this, movie.credits(movie id here) . What is written in the documentary probably isn't usable for python, the credits method should give you information about actors/actresses involved in the movie(their names), not personal information about a single character like it's ID. Regarding the library I'm using, it's called tmdbv3api . Thanks very much .
Απάντηση από τον/την TurkBinge
στις 8 Ιανουάριος 2025 στις 12:42 ΜΜ
I tried to get but there was nothing appearing into https://api.themoviedb.org/3/tv/202097/credits?api_key=
Απάντηση από τον/την superboy97
στις 8 Ιανουάριος 2025 στις 12:54 ΜΜ
This is perfectly normal as there are no regular cast and crew listed for the last season (season 2) of this show.
If you want the complete cast and crew of the series, you need to use the aggregate_credits method instead of the credits method.
Απάντηση από τον/την TurkBinge
στις 8 Ιανουάριος 2025 στις 01:24 ΜΜ
Thank you for this and the issue been fixed