The Movie Database Support

Hey, I'm looking for a way to generate random titles using this API. Currently the best way I've found is by generating an array from 1-(/movie/latest) and sampling a number from that array and then calling details on that number using /movies/id. This method works about 50% of the time, and the other 50% it doesn't due to the id not existing. Is there a way I can view which id's are still alive and which are not? Or is this just logic I should put in my controller to do the API call again? I want to avoid doing the latter due to the maximum amount of API calls which can be done.

By the way, love the API! Absolutely amazing work, really clear instructions.

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?

ലോഗിൻ