Поддръжка на 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 изпращане на вашето съобщение
(стрелка надясно) следваща страница
(стрелка наляво) предишна страница

Настройки

Искате ли да го оцените или добавите към списък?

Вход