Sprijin Bază de date filme (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 răspunsuri (pe pagina 1 din 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

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare