Hi, couple of questions!
How can I get a list of like the top 10 media someone is known for?
Also and this is more important to me right now, how do I get all the credits of a person? By all I mean their Acting, Writing, Producing, Crew e.t.c credits. The API only has Movie and TV credits
Thanks!
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 🇧🇷 pt-BR
on August 25, 2022 at 10:29 PM
Searching by the name of the person you get only the 3 movies with the highest rating. known_for
https://developers.themoviedb.org/3/search/search-people
For example Tom Cruise.
https://api.themoviedb.org/3/search/person?api_key=THE_KEY&language=en-US&query=Tom+Cruise
Searching with the person's ID you get the credits in 2 different ways.
1 - Using the &append_to_response=combined_credits feature
https://developers.themoviedb.org/3/people/get-person-details
Example
https://api.themoviedb.org/3/person/500?api_key=THE_KEY&language=en-US&append_to_response=combined_credits
2 - Requesting credits only
https://developers.themoviedb.org/3/people/get-person-combined-credits
Example
https://api.themoviedb.org/3/person/500/combined_credits?api_key=THE_KEY&language=en-US
Reply by Outis99
on August 26, 2022 at 1:00 AM
So I guess that's the best we got right now. What I am doing right now is just getting the combined credits and sorting by popularity and displaying the top 10, you get some weird results some times but it's better than just top 3.
This only gets credits for acting in Movies and TV Shows, for example if I do a combined credits call for Vince Gilligan who has acted and written and produced shows, I only get the shows he has acted in. How do I get the shows he was a crew member for or ones he produced?
Reply by ticao2 🇧🇷 pt-BR
on August 26, 2022 at 12:30 PM
Something is wrong.
In the example I gave you receive the cast and crew data.
See Vince Gilligan's last 2 acting credits and first 2 crew credits.
https://api.themoviedb.org/3/person/66633?api_key=THE_KEY&language=en-US&append_to_response=combined_credits
Reply by Outis99
on August 26, 2022 at 12:39 PM
Ah, you are correct, I was using the moviedb-promise npm module and it seems to handle the personCombinedCredits call incorrectly, thanks