I have been trying to create the query for getting a list of all actors actresses but can't seem to get it right. Also with the query to getting images for this data I follow the query provided: http://private-5d627-themoviedb.apiary-mock.com/3/person/images and then adding on my key but only get one response of Brad Pitt. Why does this query only give me Brad Pitt, how do I get every actor/actress? Thank you in advance.
Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.
Want to rate or add this item to a list?
Not a member?
Reactie van Travis Bell
op 13 juli 2014 om 2:06 PM
Hi jrichardson,
You should probably switch to the production address, api.themoviedb.org if you are wishing to query real world results. Apiary is a development and testing tool.
You can search for an actor like so:
Get an id from your search (62 in Bruce Willis’ case) and query the main person details and append the images response so it’s all in one query):
Cheers.
Reactie van Joey Richardson
op 13 juli 2014 om 3:58 PM
How about a query getting all actors and actresses?
Reactie van Travis Bell
op 13 juli 2014 om 6:00 PM
There is no such query. You would have to iterate through all of the IDs yourself starting at 1, and ending at the is returned in the /person/latest method.
Reactie van Joey Richardson
op 14 juli 2014 om 11:28 AM
So which documentation should I be following? Since the documentation provided was pretty unclear? To get a different person I would need to change the 62 to another number? What is the highest number? Thank you for the information has been very helpful.
Reactie van Travis Bell
op 14 juli 2014 om 11:39 AM
You would want to start at id 1, and then you can pull the latest if from the
/3/person/latest
method.Reactie van vikaskumar.impinge
op 23 juli 2014 om 8:33 AM
Hi,
I want to get all movies with particular actor/actroess with your api. So please let me know is it possible if yes then how. Its urgent.
Thanks in advance.
Reactie van Travis Bell
op 23 juli 2014 om 10:07 AM
To get the list of movie credits, call the
movie_credits
method on a person.You can call all of their credits by calling the
combined_credits
method:As always, the documentation is the best place for information: http://docs.themoviedb.apiary.io