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!
No trobeu una pel·lícula o una sèrie? Inicieu la sessió per a crear-la.
Desitgeu valorar o afegir aquest element a una llista?
No en sou membre?
Resposta per talestalker
el 15 , de 2024 a les 7:15 A.M.
You can get additional details, like external ids, by using append_to_response:
Resposta per rfrfrfrf
el 15 , de 2024 a les 7:19 A.M.
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.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?
Resposta per talestalker
el 15 , de 2024 a les 7:25 A.M.
As per the documentation
append_to_response
is only supported by the movie, TV, season, episode and person detail methods.