The Movie Database Support

Hey TMDB folks, I recently added an advanced search functionality to my app where it should discover movies by country (for example discover only movies where France "FR" is in the list of production_countries). I've heard of region, release_type and release dates but I couldn't succeed in combining them to get what I want.
Here is a request I used: > https://api.themoviedb.org/3/discover/movie?api_key=api_key&language=en-US&region=FR&with_release_type=1
but it returned movies where France is not a part of production countries.
So help me guys and thanks.

1 reply (on page 1 of 1)

Jump to last post

@mon3om said:
Discover by country
Hey TMDB folks, I recently added an advanced search functionality to my app where it should discover movies by country
(for example discover only movies where France "FR" is in the list of production_countries).
I've heard of region, release_type and release dates but I couldn't succeed in combining them to get what I want.
Here is a request I used: > https://api.themoviedb.org/3/discover/movie?api_key=api_key&language=en-US&region=FR&with_release_type=1
but it returned movies where France is not a part of production countries.
So help me guys and thanks.

Filtering by Country of Origin or Country of Production is not possible.
But filtering by the Original Language is possible.
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&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)

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Want to rate or add this item to a list?

Login