The Movie Database Support

Is there any way to show just tvshows from Europe/America?

This is my query

http://www.shbhawani.com/3/discover/tv?api_key=$$&first_air_date_year=$$&language=es-ES

5 replies (on page 1 of 1)

Jump to last post

I can't think of any way to filter in the API call. The only way I can think to do this is to filter on the origin_country field in your client.

really? How could I do it?

Something like...

const COUNTRIES_IN_EUROPE_AND_AMERICA = ["US", "CA", "GB", "FR", "DE", "IT", "ES"]; // complete this list with country codes you want to filter on
results.filter(show =>
    show.origin_country.some(origin_country =>
        COUNTRIES_IN_EUROPE_AND_AMERICA.includes(origin_country)))

@ldjb and @jur98
I'm not a code programmer. But I must inform.
A new filter, &with_origin_country=, was added a few months ago.
It's not documented yet but I know it works for Movies.
And I think it should work for TV Show too.
What I don't know is if it accepts multiple countries simultaneously using pipe (OR).
In the test I did, it seems to work correctly.

http://www.shbhawani.com/3/discover/tv?api_key=THE_KEY&first_air_date_year=2020&page=1&with_origin_country=IN|BR

thank you soo much both to share this information.

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