Suporte do The Movie Database

Hello, first of all i wanted to say that i really like this community and i appreciate how much effort everybody puts in to push this product forward :)

I have a question currently I am building an app to catalog my private DVD and series collection. I created a private list and started to put all the movies I own there. I'm currently at a point where I'm experiencing API problems. I have more than 500 movies in this list and the v3 API shuts down at 500 movies in the request. Is there a way to request more than 500 movies? So in the API call the data object says that there are more than 500 items but it spits out with only 500 :)

Furthermore, I would be interested if there is a possibility to search a in one of my lists via request like: …/find/list_id/movie_id or something? Then I could save myself the trouble of requesting 500 movies and go directly through the v4 API with the pager. But I have to be able to search in my list somehow.

Do you have an idea?

Looking forward to discuss that with you all grinning

5 respostas (na página 1 de 1)

Jump to last post

Hi @mmaihoff,

In order to get all of your list items, you'll have to use v4, like you pointed out. But, if all you're trying to do is check if a certain item is on your list, there actually is a method that you can use to do that. Check out the docs for v4's /item_status method. You pass it a media_type and media_id and the response will indicate if it's present or not. Would that work?

hey hey @travisbell, i know the fact that "item_status" responses the status of an movie item but that means if i use that on a global search that i need to request every single item twice. the first request gets me the movies by title and then i need to put the requested items id to send another request to get the item status this could be a bit overwhelming on a performance persepctive. Or is there another way to use the "…search/multi?…" enpoint to get both the item status and the results together?

if i request my list by using the "…4/list/list_id" endpoint i am not able to search in the whole list because the request is paged. And also to loop trough all pages and combine the results in an array is really inperformanced.

any ideas here? :)

Ok, so technically there is actually another "behind the scenes" param you can use, but it can only be used when you specify a custom sort order like popularity.desc. You can use with_text_query. Check it:

https://api.themoviedb.org/4/list/28?with_text_query=birdman&sort_by=popularity.desc

You'll see that only Birdman is returned in the results array. Does that help you?

Uhhhh great … i will check this out soon!!! Thanks a lot :)

@travisbell that works perfect for my needs! thank you blush

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