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

Hey Guys -

I'm trying to script something for my home theater and it would require referencing a text-based list as a source of all movies in the Horror genre which is updated daily. I read that it's seemingly possible to also grab the IMDB scores "using the find method" which would also be great yet isn't required. The only fields I'd need in the file are the movie's title, original title (if available), year, and optionally the current rating.

Hoping this would be relatively simple, I looked through the API documentation and tried a few things without luck so far. I did see the json files which are updated daily and was hoping I could download then apply a filter to them, but it doesn't seem to contain genre information.

Any suggestions on how to do this? I'd prefer a method compatible with Windows like Python and am playing with some of the wrappers right now, but Linux would be work if needed. Thanks!!

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

Jump to last post

Hi @bzowk,

I read that it's seemingly possible to also grab the IMDB scores "using the find method"

We do not have any IMDb rating data. The only piece of IMDb data we have is the IMDb ID. That's it. You can use the find methods to find media items with external ID's like IMDb.

Any suggestions on how to do this? I'd prefer a method compatible with Windows like Python and am playing with some of the wrappers right now, but Linux would be work if needed. Thanks!!

You can get a list of horror movies by using the /discover/movie method and with_genres filter. Something like this for example:

https://api.themoviedb.org/3/discover/movie?api_key=###&with_genres=27

There's lots of different filters you can use as part of discover, so make sure to take a look at the documentation.

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

Global

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

در صفحات مدیا

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

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

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

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

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

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

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

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

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

در صفحات بحث

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

تنظیمات

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

ورود