Служба підтримки The Movie Database

Hello TMDb team,

how can I receive the last update date of a movie? In the api documentation I only found the movie/{id}/changes function, but this functions seems to be not useful.

Imagine this scenario: I store some information about a movie in a local database. About one year later I fetch this local information and want to update these if necessary. With the current api I have to do 26 api calls (52 weeks per year, only two weeks steps are allowed by the api) in order to receive all changes, even if there wasn't any changes! It would be better to add a data field called e.g. "last_update" in the movie/{id} api so with only one api request the last change date could be received and as fastest way I could update all information from the movie/{id} api without using the "slow" changes api. Please correct me if there is a better way :)

Thank you, grogster

2 відповідей (на сторінці 1 із 1)

Jump to last post

Hi grogster,

The change log system is not designed to come back a year later and see what changes have been made. If you're not coming back for a year, I would just do a full request to the movie and do the diff yourself.

The change log system is designed to be applied incrementally, ie. a weekly or nightly job that looks for changes.

Cheers.

Hi Travis,

thanks for your reply, I'll keep this in mind. However I would appreciate a last update timestamp :)

Regards, grogster

Не вдалося знайти фільм або серіал? Увійдіть, щоб додати.

Загальні

s відкрити панель пошуку
p відкрити меню профілю
esc закрити відкрите вікно
? відкрити вікно з гарячими клавішами

На сторінках медіа

b повернутися назад
e перейти до сторінки редагування

На сторінках сезонів шоу

(стрілка вправо) перейти до наступного сезону
(стрілка вліво) перейти до попереднього сезону

На сторінках серій шоу

(стрілка вправо) перейти до наступної серії
(стрілка вліво) перейти до попередньої серії

На всіх сторінках зображень

a відкрити вікно додавання зображення

На всіх сторінках редагування

t відкрити перемикач перекладів
ctrl+ s підтвердити форму

На сторінках обговорення

n створити нове обговорення
w змінити статус стеження
p перемикач публічно/приватно
c перемикач відкрито/закрито
a відкрити активність
r відповісти на обговорення
l перейти до останньої відповіді
ctrl+ enter підтвердити повідомлення
(стрілка вправо) наступна сторінка
(стрілка вліво) попередня сторінка

Налаштування

Хочете оцінити чи додати до списку?

Увійти

Немає облікового запису?

Приєднайтеся до спільноти