The Movie Database-ondersteuning

Hi, I noticed that the endpoint to get the details for a TV show does not return the IMDB ID, unlike the movie details endpoint which an imdb_id property.

E.g.

https://api.themoviedb.org/3/tv/94028?api_key=XXX 

doesn't return imdb_id, but when I search via its IMDB ID through the find endpoint, it correctly finds it, so it looks like it's there but just not returned

https://api.themoviedb.org/3/find/tt11016042?api_key=XXX&external_source=imdb_id

Any particular reason why is that so? If you have any suggestions on how to retrieve IMDB IDs for TV shows too, it would be greatly appreciated. Thanks!

3 antwoorden (op pagina 1 van 1)

Jump to last post

You can get additional details, like external ids, by using append_to_response:

https://api.themoviedb.org/3/tv/94028?api_key=###&append_to_response=external_ids

I could swear I tried that too, but I must've had a typo because now it works great – thanks a lot @talestalker!

I was hoping this would work for the search/multi endpoint as well, i.e.

https://api.themoviedb.org/3/search/multi?api_key=XXX&query=stalker&append_to_response=external_ids

but in this case it looks like it's impossible to force the external IDs in the response. Unless I'm doing it wrong again?

@rfrfrfrf said: but in this case it looks like it's impossible to force the external IDs in the response. Unless I'm doing it wrong again?

As per the documentation append_to_response is only supported by the movie, TV, season, episode and person detail methods.

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen