Film Veri Tabanı Desteği

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 yanıt (toplam 1 sayfanın 1.sayfasında)

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.

Bir filmi veya diziyi bulamıyor musun? Eklemek için oturum aç.

Genel

s arama çubuğuna odaklan
p profil menüsünü aç
esc açık bir pencereyi kapat
? klavye kısayol penceresini aç

Medya sayfalarında

b geri git (veya uygulanabilirse ana ekrana)
e sayfayı düzenlemeye git

TV sezonu sayfalarında

(sağa ok) sonraki sezona git
(sol ok) önceki sezona git

TV bölüm sayfalarında

(sağa ok) sonraki bölüme git
(sol ok) önceki bölüme git

Tüm görüntü sayfalarında

a resim ekle penceresini aç

Tüm düzenleme sayfalarında

t çeviri seçiciyi aç
ctrl+ s formu gönder

Tartışma sayfalarında

n yeni tartışma oluştur
w izleme durumunu değiştir
p umumi/hususi değiştir
c kapalı/açık değiştir
a etkinliği aç
r tartışmayı yanıtla
l son yanıta git
ctrl+ enter mesajını gönder
(sağa ok) sonraki sayfa
(sol ok) önceki sayfa

Ayarlar

Bu öğeyi derecelendirmek veya bir listeye eklemek ister misiniz?

Giriş