Soporte de 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 respuestas (en la página 1 de 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.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión