Is there any way to return something that looks like this?
{ id: 1, title: "Movie Name", actors: [ { name: "Actor #1", dob: "1-18-1984" }, { name: "Actor #2", dob: "4-10-1981" } ] }
This API has something like it: http://www.myapifilms.com/index.jsp
However, it's pretty slow. It takes roughly 10+ seconds to get a response back when doing a GET request through my AngularJS app.
Any help would be appreciated in getting this type of data. Thanks!
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 7 août 2014 à 10h33
Hi Ryan,
No, there is no way to do that in a single query. You can call the credits methods and even use
?append_to_response
to make it a single query but our credit responses do not include the person's date of birth.The only response that includes a person's DOB is the primary person info call:
Cheers.
Réponse de ryanmunger
le 7 août 2014 à 14h25
Thanks for the quick response Travis. This answers my question.