I understand that the find method can retrieve a movie result, including a TMDB ID, given an external IMDB ID. However, let's say that I only have a TMDB ID and want an IMDB ID to pass to another API. The movie results do not seem to have an IMDB ID attribute, nor do I see a sort of 'reverse' find method. But I assume that, since there is a find method, there is a mapping of IMDB IDs to TMDB IDs, which should be able to go the other way. Is there a method or another way to do this?
Can't find a movie or TV show? Login to create it.
Vil du vurdere eller legge til dette elementet i en liste?
Ikke et medlem?
Svar av npg21
den 14 Desember 2016 kl. 8:50 PM
I realized that I can use the TMBD ID in the movie method and take the IMDB ID from there. This can be closed.
Svar av mhmdshv
den 1 April 2017 kl. 8:41 PM
Hi, i wish you could post some extra details because i'm looking for the exact thing, without success.
Svar av Travis Bell
den 2 April 2017 kl. 11:53 AM
@mhmdshv I think @npg21 just means he did a regular movie query:
Which returns the IMDb id. For any other lookups, that aren't TMDb id based, you can use the /find method.
Svar av mhmdshv
den 2 April 2017 kl. 2:44 PM
Thank you, i was wondering if i can show an IMDB link too by just 1 query using
/discovery
, which seems is not possible. By the way isn't there a way to get the IMDB rating? Your data is accurate enough but still IMDB rating is better known in my country.Svar av sharepointalex
den 3 April 2017 kl. 6:02 AM
Would be nice to have the IMDB rating too - if this is even possible as I don't think IMDB even has an API does it? And i'm sure the use of retrieving data from IMDB by screen scraping is illegal?
Svar av mhmdshv
den 3 April 2017 kl. 10:14 AM
Yea well if you consider the legal problem too then you can't. IMDB doesn't have any API, yet. But google and some other services are using IMDB rating too, i don't think they have issues with us using the rating. I'm not gonna abuse the rating though, just show a box az IMDB rating.
Svar av sharepointalex
den 3 April 2017 kl. 5:35 PM
Good point - just something I read when I was doing some research into options to return the IMDB rating - only seemed to find screen scraping.
Do you know of an API or another service I can use to get the rating?
Wanting to display it in an app - perfect if I can get the IMDB if from TMBD and pass it into an API somewhere else.
Svar av BlackSpirits
den 3 April 2017 kl. 5:38 PM
I think this can help
OMDb
Svar av mhmdshv
den 3 April 2017 kl. 8:29 PM
Unfortunately it's not possible to get it in TMDB. However as @BlackSpirits mentioned, you can use the other API to get the rating (which it's just a scrapper). I also have a php script that does this for you, but requires you to have your own server though.
Svar av alvarotrigo
den 17 Februar 2018 kl. 7:06 PM
I also would love to have the imdb rating without an extra API call to themoviedb.
Otherwise I would have to call the discover method and iterate all movies to call the movie method.
Having at the moment:
Svar av Travis Bell
den 21 Februar 2018 kl. 12:54 PM
We do not have any plans on supporting the IMDb rating.
If you mean IMDb ID instead, then yes, you would have to call the details method.
Svar av alvarotrigo
den 21 Februar 2018 kl. 1:46 PM
Yeah I meant the imdb id, which is a pity we don't have in the list of movies. Then we have to iterate in each movie to get the imdb id... which is a waste of resources and time.
Svar av utsavmadaan823
den 17 September 2019 kl. 2:02 AM
You can use imdb rating widget ( https://www.imdb.com/plugins ) ..you will get the html code for rating widget and wherever you place it just make sure dynamically replace imdb id in the html code generated to show rating of relevant title. And imdb id is available through tmdb api.