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
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de Travis Bell
pe data de 10 februarie 2014 la ora 10:52 AM
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.
Răspuns de grogster
pe data de 11 februarie 2014 la ora 6:55 PM
Hi Travis,
thanks for your reply, I'll keep this in mind. However I would appreciate a last update timestamp :)
Regards, grogster