The Movie Database Support

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.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login