The Movie Database Support Forum

I ran the movie/popular to get a list of popular movies...the beginning of the Jason file returned says "page":1.. and it gave a total of 20 popular movies but the end of the file says "total_pages":9188,"total_results":183741}

what does this mean? it says total pages 9188 but the returned page says page 1 only...is there a page 2, page 3? another is that it says total result is 183741 but I can only retrieve 20?

Also, how do I increase the query result. For example, if I want more than 20 popular movies, say 50 or 100 popular movies?

4 Antworten (Seite 1 von 1)

Jump to last post

Hi regie,

You need to use the page= parameter.

https://api.themoviedb.org/3/movie/popular?api_key=###&page=1
https://api.themoviedb.org/3/movie/popular?api_key=###&page=2
https://api.themoviedb.org/3/movie/popular?api_key=###&page=3

Etc, etc…

Cheers.

I see..so are the most popular movies on page 1?

Results are sorted by popularity in descending order so yes, the first page has the most popular items.

thanks Travis!

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden