Sprijin Bază de date filme (The Movie Database)

This question is going out to other fellow API users, possible Travis.

I was wondering if there is a better way of updating my local cached data about all movies then I am currently doing.

Example of what I am currently doing.

each day at around 00:30 GMT I have a php cron job that calls the below page.

https://api.themoviedb.org/3/movie/changes?api_key=APIKEY

From this page it first finds the total pages. Then it goes through each of the movie items on that page. Once it has finished that it moves onto the next page with the below link:

https://api.themoviedb.org/3/movie/changes?api_key=APIKEY&page=2

It does this till it gets to the last page.

currently this is taking my script around 1 hour and 45 minutes to updates all this data. As it is doing a full movie update of each of these movies. This is one of my ways to be 100% sure I have the most updated version of the movie data.

Do people have a better way of doing this or is this the best way?

Do people think it is better to hit this page once a week rather then once a day?

Doing something like:

https://api.themoviedb.org/3/movie/changes?api_key=APIKEY&page=2&start_date=2014-05-10

Thanks for anyones input.

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