The Movie Database-ondersteuning

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 antwoorde (op blad 1 van 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

Kan ’n rolprent of TV-program nie vind nie? Teken aan om dit te skep.

Globaal

s fokus op soekbalk
p open profielkieslys
esc sluit ’n oop venster
? open sneltoetsvenster

Op mediablaaie

b gaan terug (na ouer waar van toepassing)
e gaan na wysigblad

Op TV-seisoenblaaie

(regterpyl) gaan na volgende seisoen
(linkerpyl) gaan na vorige seisoen

Op TV-episodeblaaie

(regterpyl) gaan na volgende episode
(linkerpyl) gaan na vorige episode

Op alle beeldblaaie

a open beeldtoevoegvenster

Op alle wysigingsblaaie

t open vertaalkieser
ctrl+ s dien form in

Op besprekingsblaaie

n skep nuwe bespreking
w tokkel kykstatus
p tokkel openbaar/privaat
c tokkel maak oop/toe
a open aktiwiteit
r reageer op bespreking
l gaan na laaste reaksie
ctrl+ enter dien u boodskap in
(regterpyl) volgende blad
(linkerpyl) vorige blad

Instellings

Wil u hierdie item gradeer of tot ’n lys toevoeg?

Teken aan