The Movie Database Support Forum

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!

2 Antworten (Seite 1 von 1)

Jump to last post

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.

https://api.themoviedb.org/3/movie/550?api_key=###&append_to_response=credits

The only response that includes a person's DOB is the primary person info call:

https://api.themoviedb.org/3/person/819?api_key=###

Cheers.

Thanks for the quick response Travis. This answers my question.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden