The Movie Database-ondersteuning

Hello,

I want to filter movies by entering a partial or full movie name.

I am using a "discover" to fetch the movies and I want to add a search functionality as well. Since my get request is limited by dates "search/movie" doesn't work for me.

I found out that I can use "with_text_query" parameter for discover request but it doesn't work properly. For example if the user types "pool" it doesn't return "Deadpool & Wolverine". As far as I understand you need to provide the whole word. I read almost all the tickets in the forum but I can't solve the problem.

https://api.themoviedb.org/3/discover/movie?api_key=[your_api_key]&with_text_query=pool&page=1&sort_by=popularity.desc&primary_release_date.gte=2024-07-15&primary_release_date.lte=2024-08-05

Suggestion: Adding query parameter to discover to filter the movies by their titles would be absolutely great.

Is there anyone who can help me?

1 antwoord (op blad 1 van 1)

Jump to last post

Hi @Kerem5070,

As you may have already gathered, the with_text_query filter on discover is unsupported, that is why it is not documented anywhere. There is not currently any plans to bring full search to discover.

Regarding your query though, I'm not sure who would enter "pool" while searching for Deadpool. Obviously entering "deadpool" works as expected:

https://api.themoviedb.org/3/discover/movie?api_key=###&with_text_query=deadpool&page=1&sort_by=popularity.desc&primary_release_date.gte=2024-07-15&primary_release_date.lte=2024-08-05

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