Hi, when i search persons ( http://api.themoviedb.org/3/search/person?api_key=MY_API_KEY&query=mat) it returns movies. how can I only have people in return ?
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Travis Bell
den 1 mars 2017 vid 6:52 PM
Hi there,
/search/person only returns people. There are no movies returned.
Each person object has a
known_for
object though, you might have mistakenly thought that was in the root of the results array.