Suporte do The Movie Database

When looking at the examples and documentation of GET/account/{account_id}/movie/watchlist https://api.themoviedb.org/4/account/{account_id}/movie/watchlist?page=1

The value "page" is optional and default set to 1. So I have tried to leave out that option but it seems that I still only receive a part of my list.

What if I don't want "pages". I simply want "everything" in one call. Is that possible?

BR Tilly

3 respostas (na página 1 de 1)

Jump to last post

Hi @htilly,

We only return 20 items per page, so if your list has more than 20 items you will need to iterate over the pages.

https://api.themoviedb.org/4/account/{account_id}/movie/watchlist?page=1
https://api.themoviedb.org/4/account/{account_id}/movie/watchlist?page=2
https://api.themoviedb.org/4/account/{account_id}/movie/watchlist?page=3

And so on... until you've reached the value of total_pages.

Ok, thanks for a fast answer.

That makes sense from a GUI point of view. But when accessing thru API and code it adds some unnecessary complexity. No plans of adding an option of showing all?! ;)

BR Tilly

Not at this time, no. There might be support for more items per page at some point, but it will always be paginated.

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