Axuda de The Movie Database

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.

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión