Podpora The Movie Database

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 replies (on page 1 of 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.

Ne najdete filma ali serije? Prijavite se, da ga/jo ustvarite.

Povsod

s aktiviraj iskalno vrstico
p odpri meni profila
esc zapri odprto okno
? odpri okno za bližnjice

Na predstavnostnih straneh

b pojdi nazaj (ali na starša, kjer je smiselno)
e pojdi na urejanje strani

Na straneh sezon serij

(desna puščica) pojdi na naslednjo sezono
(leva puščica) pojdi na prejšnjo sezono

Na straneh epizod serij

(desna puščica) pojdi na naslednjo epizodo
(leva puščica) pojdi na prejšnjo epizodo

Na vseh slikovnih straneh

a odpri okno za dodajanje slike

Na vseh urejevalnih straneh

t odpri izbirnik prevodov
ctrl+ s pošlji obrazec

Na straneh za razpravo

n ustvari novo razpravo
w preklopi gledalski status
p preklopi javno/zasebno
c preklopi zaprto/odprto
a odpri aktivnost
r odgovori na razpravo
l pojdi na zadnji odgovor
ctrl+ enter objavi sporočilo
(desna puščica) naslednja stran
(leva puščica) prejšnja stran

Settings

Want to rate or add this item to a list?

Prijava