I'm trying to get information about the actor playing in a selected movie. Can I do that? Or I could not find the required url part for it, is there a player url?
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ ديسمبر 16, 2020 في 11:17 صباحا
Sure, to get the credits of a movie, call the
/credits
method. To get the details about a specific person, call the/person/{id}
method.I'm not sure I understand, a player URL for what exactly?
رد بواسطة grs21
بتاريخ ديسمبر 18, 2020 في 1:49 صباحا
I actually want to list the actors who played in the selected movie. I could not find this information in the GET DETAIL section or other sections. Where can I get information? Thanks your answer.
رد بواسطة ticao2 🇧🇷 pt-BR
بتاريخ ديسمبر 18, 2020 في 5:06 صباحا
There are 2 ways to obtain a cast list for a specific film.
For example the film with ID 550.
https://www.themoviedb.org/movie/550-fight-club
1 - Making a Get Credits API Request, specific to cast and crew
See here https://developers.themoviedb.org/3/movies/get-movie-credits
Example https://api.themoviedb.org/3/movie/550/credits?api_key=THE_KEY&language=en-US
2 - Or by doing a basic Get Details API Request with the &append_to_response= feature
See here https://developers.themoviedb.org/3/movies/get-movie-details
See here https://developers.themoviedb.org/3/getting-started/append-to-response
Example https://api.themoviedb.org/3/movie/550?api_key=THE_KEY&language=en-US&append_to_response=credits