I was trying to find hindi movie called Blue. So i made a get request to API as:
https://api.themoviedb.org/3/search/movie?api_key=###&language=en-US&query=Blue&page=1&include_adult=true
Is There any way i can search for particular movie of that particular Language Only Like here i'm getting english movies too but i only want hindi movies for the following query?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 š§š· pt-BR
on March 1, 2022 at 10:22 AM
Using Search API Request I don't think so.
There is a way, partly undocumented, that might solve your problem.
Making a Discover API Request with the parameters:
&with_origin_country=IN
&with_text_query=Blue ( undocumented )
It would be like this:
https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&with_origin_country=IN&with_text_query=Blue
In the result the first film is this:
https://www.themoviedb.org/movie/24595-blue
Reply by Travis Bell
on March 1, 2022 at 10:27 AM
Hi @anshshah91, unfortunately, no, not for search queries. The only query that supports filters like you're looking for is discover, which supports two different filters you can use to help,
with_original_language
andwith_title_translation
.I've created a new ticket for tracking this here. Thanks.
Reply by anshshah91
on March 1, 2022 at 1:48 PM
Yeah It is working Thanks
Reply by anshshah91
on March 1, 2022 at 1:51 PM
Yeah Discover works for now thanks and can i close discussion now as i have got working solution?