پشتیبانی پایگاه داده‌ فیلم

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?

13 پاسخ (در صفحه 1 از 1)

Jump to last post

I realized that I can use the TMBD ID in the movie method and take the IMDB ID from there. This can be closed.

Hi, i wish you could post some extra details because i'm looking for the exact thing, without success.

@mhmdshv I think @npg21 just means he did a regular movie query:

https://api.themoviedb.org/3/movie/550?api_key=###

Which returns the IMDb id. For any other lookups, that aren't TMDb id based, you can use the /find method.

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.

@mhmdshv said:

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.

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?

@sharepointalex said: 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?

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.

@mhmdshv said:

@sharepointalex said: 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?

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.

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.

I think this can help

OMDb

@sharepointalex said:

@mhmdshv said: 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.

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.

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.

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:

https://api.themoviedb.org/3/discover/movie

I also would love to have the imdb rating without an extra API call to themoviedb.

We do not have any plans on supporting the IMDb rating.

Otherwise I would have to call the discover method and iterate all movies to call the movie method.

If you mean IMDb ID instead, then yes, you would have to call the details method.

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.

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.

فیلم و نمایش تلویزیونی را نمی‌توانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.

Global

s تمرکز بر منوی جستجو
p منوی پروفایل باز شود
esc بستن پنجره باز
? پنجره میانبرهای صفحه‌کلید باز شود

در صفحات مدیا

b بازگشت به عقب (یا در صورت لزوم به منشا)
e برو به صفحه ویرایش

در صفحات فصل تلویزیونی

(فلش سمت راست) برو به فصل بعد
(پیکان سمت چپ) برو به نشست قبلی

در صفحات قسمت تلویزیونی

(فلش سمت راست) برو به قسمت بعد
(پیکان سمت چپ) برو به قسمت قبلی

در تمام صفحات تصویر

a پنجره افزودن تصویر باز شود

در تمام صفحات ویرایش

t انتخابگر ترجمه باز شود
ctrl+ s ثبت از

در صفحات بحث

n ایجاد بحث جدید
w تغییر وضعیت وضعیت تماشا
p تغییر وضعیت عمومی/خصوصی
c تغییر وضعیت بسته/باز
a گشایش صفحه فعالیت
r پاسخ به بحث
l برو به آخرین پاسخ
ctrl+ enter پیام خود را ثبت کنید
(فلش سمت راست) صفحه بعد
(پیکان سمت چپ) صفحه قبلی

تنظیمات

آیا می‌خواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟

ورود