I have a list of names and I want to determine if they were crew on any FEATURE motion pictures. At the moment I seem to have to do a bunch of queries:
Find the Person: search/person?query={name}
Assuming they exist find their id in the response
Find their Credits /person/{person_id}/movie_credits
I then have to look through crew credits and run a query on each movie i find
Find the Movie Details /movie/{movie_id}?append_to_response=release_dates
This means a minimum of three queries per person, and possibly a lot more if they have a lot of credits!
Any way to streamline this?
Also, what does it mean when a short is reported to have had a theatrical release? Movie ID = 295071 for example...
Thanks in advance for any help and insight!
Não consegue encontrar um certo Filme ou Série? Inicie Sessão e adicione-o.
Deseja classificar ou adicionar este item a uma lista?
Ainda não é um membro?
Resposta de ticao2 🇧🇷 pt-BR
em 12 maio 2018 às 1:27 AM
I'm not sure if I understand the problem, but... maybe by using this:
Resposta de BytePlayer
em 12 maio 2018 às 5:28 AM
Thanks for the quick response but your solution doesn't work for me as it
Okay, I'll try and explain it again.
I have the *name * of a person, say "Robert Stadd" and I want to find out which Feature Films with Theatrical Releases he worked on, and what his positions were on those films.
What I'm looking to figure out is how can I accomplish that in the fewest possible calls, as the only way I can figure out how to do it requires a minimum of 3 calls, and generally a lot more.
What I'm doing know is the following, which seems really unwieldy:
This returns me 0 or more users who match that name. In the case of Robert Stadd I take the one PersonID and call
In the case of Robert, this returns 10 separate projects but without enough information for me to know if each project had a theatrical release. So now I need to iterate through each one of these projects to get more details on them by calling
Note: The last append_to_response is required to get the release TYPE (Theatrical, Theatrical (Limited) etc)
Thus to get all the information I need on Robert requires 12 calls (one call in step a, one call in step band ten calls (one for each project) in step c
I'm hoping there is some way to make this more efficient.
Thanks in advance for any help!
Resposta de Travis Bell
em 16 maio 2018 às 11:02 AM
Hi there,
The API isn't really designed for queries such as yours. Supporting something more efficient based on your use case here is not something that would be very easy to add.
Perhaps one day in the future something more dynamic could be built but until then, the best solution I can recommend is to bring the data in house, that way you can customize your schema however makes the most sense for your use case.