Wsparcie 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.

Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.

Globalny

s zaznacz pasek wyszukiwania
p otwórz menu profilu
esc Zamknij otwarte okno
? otwórz okno skrótów klawiszowych

On media pages

b go back (or to parent when applicable)
e przejdź do strony edycji

On TV season pages

(prawa strzałka) przejdź do następnego sezonu
(lewa strzałka) przejdź do poprzedniego sezonu

On TV episode pages

(prawa strzałka) przejdź do następnego odcinka
(lewa strzałka) przejdź do poprzedniego odcinka

On all image pages

a otwórz okno dodawania obrazu

On all edit pages

t open translation selector
ctrl+ s prześlij formularz

On discussion pages

n otwórz nową dyskusję
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r odpowiedz na dyskusję
l przejdź do ostatniej odpowiedzi
ctrl+ enter wyślij swoją wiadomość
(prawa strzałka) następna strona
(lewa strzałka) poprzednia strona

Ustawienia

Want to rate or add this item to a list?

Zaloguj