The Movie Database-ondersteuning

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 antwoorde (op blad 1 van 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!

Kan ’n rolprent of TV-program nie vind nie? Teken aan om dit te skep.

Globaal

s fokus op soekbalk
p open profielkieslys
esc sluit ’n oop venster
? open sneltoetsvenster

Op mediablaaie

b gaan terug (na ouer waar van toepassing)
e gaan na wysigblad

Op TV-seisoenblaaie

(regterpyl) gaan na volgende seisoen
(linkerpyl) gaan na vorige seisoen

Op TV-episodeblaaie

(regterpyl) gaan na volgende episode
(linkerpyl) gaan na vorige episode

Op alle beeldblaaie

a open beeldtoevoegvenster

Op alle wysigingsblaaie

t open vertaalkieser
ctrl+ s dien form in

Op besprekingsblaaie

n skep nuwe bespreking
w tokkel kykstatus
p tokkel openbaar/privaat
c tokkel maak oop/toe
a open aktiwiteit
r reageer op bespreking
l gaan na laaste reaksie
ctrl+ enter dien u boodskap in
(regterpyl) volgende blad
(linkerpyl) vorige blad

Instellings

Wil u hierdie item gradeer of tot ’n lys toevoeg?

Teken aan