Suporte do The Movie Database

In this scenario my first fetch (tv search) produces up to twenty additional fetches as that is the amount of results that are returned to me, then each of those fetches produce one fetch.

So I am fetching 41 times in the matter of seconds which would surpass the cap by one.

My question is, can I limit the number of results I get back in my query so I don't pull 20 results?

4 respostas (na página 1 de 1)

Jump to last post

Please, place your API Request here.
Without your API Key. Replace your Key with MY_KEY.

If I remember correctly, every search result obeys the following limits:
20 items per page x maximum 1000 pages.

1st request to get series ->
https://api.themoviedb.org/3/search/tv?api_key=&query=thrones&language=en-US
2nd through 21st request to get seasons -> (2nd) -
https://api.themoviedb.org/3/tv/1399?api_key=&language=en-US
22nd through 41st request to get episodes -> (22nd) -
https://api.themoviedb.org/3/tv/1399/season/7?api_key=&language=en-US

I thought so, I figured I'd ask and see if there's a way to put in a request to be able to change it.

I edited your post to get clearer to me.

UnInfamousAlec
My question is, can I limit the number of results I get back in my query so I don't pull 20 results?

The Google translation sometimes makes it difficult.
I do not think it's possible to limit the number of responses.
It will always be 20. When there are 20.

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