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

Hello,

I have a question regarding the changes endpoints (https://api.themoviedb.org/3/movie/changes and the TV one). Why are these endpoints paginated?

My goal is to ensure that the media I have are synchronized with TMDB. Let's say I have 2000 movies and 1000 TV shows. Previously, I would query the changes for the last 24 hours, retrieve all the IDs, and compare them with my records. For each match, I would then query the details and update the media with the new data.

However, since the introduction of pagination, the endpoint returns only 100 IDs per page. Given there are about 1500-2000 changes per day, I now need to query this endpoint 15-20 times for movies, and similarly for TV shows, to get all the changed IDs and then query each media individually.

My concern is to avoid making an excessive number of queries to the endpoints. Is it okay if I call each endpoint 20 times to get all the changes + the individual call after that ?

Thank you.

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

Jump to last post

Is it okay if I call each endpoint 20 times to get all the changes + the individual call after that ?

Yes, no issues with this.

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

Global

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

در صفحات مدیا

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

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

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

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

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

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

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

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

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

در صفحات بحث

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

تنظیمات

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

ورود