Suporte do The Movie Database

Hello I would like to know how I can see several pages in a request

7 respostas (na página 1 de 1)

Jump to last post

I don't thinks it's possible. it's intended to be fetched only 1 page per request...

maybe it's available for VIP member ? dunno.. :)

The petition in the "Required Parameters" puts the parameter "page" = Minimum 1 maximum 1000.Yo think it is possible, but not how to do it

you can fetch a page of given number, such as page=1 or page=100, but neither page=1,2,3.....,100 nor pages=100.

So if I want to get a list of 10 pages of "top_rated." Do I have to go page by page?

ex: https://api.themoviedb.org/3/movie/top_rated?api_key=XXXXXXXXXX

I'll have to make multiple requests? Is not it can be done with a single request?

yes, you have to go page by page (as I understand ), keep in mind that you have a request limitation:

We do enforce a small amount of rate limiting. Please be aware that should you exceed these limits, you will receive a 503 error. 

30 requests every 10 seconds per IP 

Maximum 20 simultaneous connections per IP

Thanks gitawego I am Spanish and my dad is Google Translate XXDD

To confirm what gitawego said, you can't pull multiple pages in a single call. You will have to iterate through each page.

It's also worth pointing out since the rate limiting was mentioned here, that our rate limiting process will be changing shortly. You can read more about that here: http://www.themoviedb.org/talk/5317af69c3a3685c4a0003b1

Cheers.

Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em páginas de temporadas de séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade