Supporto The Movie Database

How to show all 100 items at once from the Now Playing, now i am only able to show 20 items on a page.

6 risposte (nella pagina 1 di 1)

Jump to last post

Hi grace84,

It is not currently possible to set a custom per_page value on our API. Instead, just iterate through the first 5 pages.

There's quite a few apps doing the "infinite scroll" concept iterating through many, many pages as the user scrolls through movies.

ok thanks for the answer

okay, How to iterate, every time I get only 20 item

Hi @ahmedwaheed1962,

You append a page parameter. Using the top rated movie results as an example:

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

Etc.

Okay, I wan't to know what is the best networking library to connect to your API, because I tried The Fast Networking Library and it does't work

I am unable to answer anything to do with specific programming languages or libraries. For questions like that, you'll probably have better luck asking somewhere like Stack Overflow.

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi