I have the imdb Ids (tconst, as they call it); what I need to know is how to get the tmdb movie Id value from that imdb movie Id value (with a REST call).
Can't find a movie or TV show? Login to create it.
Ĉu volas taksi aŭ aldoni ĉi tiun elementon al listo?
Ĉu ne estas membro?
Respondo de Travis Bell
je Septembro 22 2020 je 12:58 PM
Hi @bclayshannon,
Yes, you can use the
/find
method.As an example.
Respondo de dewanharish
je Februaro 18 2023 je 6:31 PM
Hi, for movies it works ... but not for shows
Respondo de Travis Bell
je Februaro 19 2023 je 3:09 PM
TV works just fine:
Request
Response
Respondo de jlj1950228
je Aŭgusto 30 2023 je 6:52 PM
This works if pasted into the browser url window, but not with curl.
Respondo de Leon
je Aŭgusto 31 2023 je 10:36 AM
It works for me with curl, using the command Travis provided above. Be sure to wrap the URL with quotation marks. If it doesn't work, provide an example curl command that doesn't work, removing your API key.
Respondo de jlj1950228
je Aŭgusto 31 2023 je 12:43 PM
Hi,
Thanks for responding. I found my mistake after going through half a dozen permutations of the command line. I counted as URL from http to the question mark and quoted that and nonthing else. The entire line has to be quoted because the entire line, api key and external source option are part of the URL. Quoting the entire thing succeeded.
Thanks again, JIm J.