Soporte de 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 respuestas (en la 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

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión