The Movie Database Support

Hey peeps!

I am working on a TV application that I think many people will use. I'll use TMDb to show information about actors/actress and movies. I think the best way to do this is to store all data I need from TMDb into a database, instead of doing a request to the API each time a user use my application.

I just want to know the best way to download all data? It's like 1M+ persons... I use the PHP Glamorous class. Should I just create a forloop and call the getPerson function each time and store the data, a million times? and it's something you allow?

Thank you.

6 replies (on page 1 of 1)

Jump to last post

I am also looking for something similar. However, after spending some time looking through the forums it is my understanding that this no longer exist directly. Based on what I have gathered there used to be a Movie.Browse command in version 2.1 that would take in page numbers and one could theoretically loop through all the pages. Also, it appears that there will be changes made to the Search.Movie that would allow the API to do something like what 2.1 allowed us to do with Movie.Browse.

I gathered this information by reading similar questions to this request. The best thing I could come up with in the meanwhile, is to loop through each genre; given a genre loop through all the movies in that genre; for each movie make use of the "append_to_response" parameter to get as much info as needed ( and possible ) about each movie. Rinse and repeat. I have not executed this because it would be close to a gazillion ( not really, maybe ) API calls.

Until I find what the API limitations are I would not perform such a request and I DO NOT recommend anyone to do so either; at least without implementing some type of throttling.

Hi Mikez,

I just want to know the best way to download all data? It's like 1M+ persons…

Yes, the only way would be to query the API until you have all of the data. You can use the change methods to keep things in sync once you have all of the data.

and it's something you allow?

It most certainly is just remember you still have top adhere to our terms of use.

Hi angelxmoreno,

Until I find what the API limitations are I would not perform such a request and I DO NOT recommend anyone to do so either; at least without implementing some type of throttling.

I moved the information about this onto the api docs page.

@Travis Bell thanks!

Are there any limits for how many api calls you can do per day? I can't find any info about that.

Are there any limits for how many api calls you can do per day? I can't find any info about that.

No, not per day. Only per 10 second spans.

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