The Movie Database Support Forum

hi, i am from India and i want to list only Indian movies, please post some working sample , i have tried this https://api.themoviedb.org/3/discover/movie?api_key=xxx&region=IN&language=hi&sort_by=popularity.desc&release_date.gte=2017-08-01&with_release_type=3|2 but its not working

4 Antworten (Seite 1 von 1)

Jump to last post

Hi there,

We don't really have a way to query the "original country" of a film. The query you have above will search for all the movies that have a release data added in India, but obviously that not anything specific to it being an Indian movie.

I have an open ticket to look at adding a filter on the production country here. I feel like that's not always going to be 100% correct either. Although closer.

Another option could be to look at the with_original_language filter.

https://api.themoviedb.org/3/discover/movie?api_key=###&region=IN&language=hi-IN&release_date.gte=2017-08-01&with_release_type=3|2&with_original_language=hi

That returns much more valid results.

Thank you so much :)

@Navdeepkaur said:
Thank you so much :)

You are giving thanks for information given in 2018.
Recently added with_origin_country feature.

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&with_origin_country=IN  

You can also use the old solution.
Filtering by the Original Language is possible.
For example, in the case of India, the &with_original_language parameter can be added.
Example

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&sort_by=popularity.desc&page=1&primary_release_year=2020&with_original_language=hi|kn|ml|ta|te

But beware of duplicity:
A Language with Multiple Countries

en  English 6 (AU+CA+GB+IE+NZ+US)
fr  French 2 (CA+FR)
de  German 3 (AT+CH+DE)
ms  Malay 2 (MY+SG)
zh  Mandarin 3 (CN+HK+TW)
pt  Portuguese 2 (BR+PT)
es  Spanish 2 (ES+MX)

A Country with Multiple Languages

CA  Canada 2 (en+fr)
CN  China 2 (cn+zh)
IN  India 5 (hi+kn+ml+ta+te)
NO  Norway 2 (nb+no)
ES  Spain 4 (ca+es+eu+gl)

There's actually two other filters that might be of interest, with_origin_country and with_title_translation. Feel free to give those a try as well.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden