Axuda de The Movie Database

How can I get results other than 10,000 movies? On page 501, I get the error "page must be less than or equal to 500".

How can I follow steps to get full database access?

6 respostas (na páxina 1 de 1)

Jump to last post

@oraycan said:
page must be less than or equal to 500
How can I get results other than 10,000 movies?
On page 501, I get the error "page must be less than or equal to 500".

The number/quantity of Items per Page and the number/quantity of Pages
cannot be changed, configured, specified, restricted, or anything like that.
There will always be up to 20 items per page.
And a maximum of 500 pages.
Therefore, at most 10,000 items.

Of course, depending on the parameters used in your API Request
this number/quantity can be much smaller.
Eventually zero.

In a Trending API Request, the quantities are greater.
A maximum of 1,000 pages
Therefore a maximum of 20,000 items

How can I follow steps to get full database access?

I believe that only if you make several API Requests.
For example, for decades.

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&sort_by=release_date.asc&page=1&primary_release_date.gte=1860-01-01&primary_release_date.lte=1910-12-31  

If I'm not mistaken the movie count must be over 650,000.

Depending of the data wanted, the daily export file may be a solution.

correct. you can decrease the date range and try. try for 6 months or 1 year range.

in my response

"total_pages": 38878,
"total_results": 777547

and when i access last page says me, must be less than 500, and my response says last page is more than 500!

@Karim007 said:

in my response

"total_pages": 38878,
"total_results": 777547

and when i access last page says me, must be less than 500, and my response says last page is more than 500!

The result of your search indicate the total number of pages, but you can only access the first 500 pages.

@superboy97 said:

@Karim007 said:

in my response

"total_pages": 38878,
"total_results": 777547

and when i access last page says me, must be less than 500, and my response says last page is more than 500!

The result of your search indicate the total number of pages, but you can only access the first 500 pages.

Why is That

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión