The Movie Database Support

Hi The discover api now working with watch region https://api.themoviedb.org/3/discover/tv?api_key=XXXXXXXXXXXXXXXXXXXXXXXX&page=184&sort_by=first_air_date.desc&first_air_date_year=2017&watch_region=IN&include_adult=false

In this above api If I change watch_region=IN the its showing 284 page https://prnt.sc/dfiNE3kDj1hL

then I changed watch_region=US then again showing 284 pages https://prnt.sc/CgxFAbLVb4m7 which is same like india

then I change watch_region=CA and again same result https://prnt.sc/uTICfvOb3lKg

I also try with region and getting save result

I want to know how we get tv shows according to country

8 replies (on page 1 of 1)

Jump to last post

@Doloreste said:
discover/tv api not working with watch_region
Hi
The discover api now working with watch region
https://api.themoviedb.org/3/discover/tv?api_key=XXXXXXXXXXXXXXXXXXXXXXXX&page=184&sort_by=first_air_date.desc&first_air_date_year=2017&watch_region=IN&include_adult=false

In this above api If I change watch_region=IN the its showing 284 page https://prnt.sc/dfiNE3kDj1hL
then I changed watch_region=US then again showing 284 pages https://prnt.sc/CgxFAbLVb4m7 which is same like india
then I change watch_region=CA and again same result https://prnt.sc/uTICfvOb3lKg

I also try with region and getting save result
I want to know how we get tv shows according to country

I use this feature very little. I don't know well.
It seems to me that the "watch_region" filter necessarily needs to be accompanied by the "with_watch_providers" filter.
https://developers.themoviedb.org/3/discover/tv-discover

with_watch_providers
A comma or pipe separated list of watch provider ID's.
Combine this filter with watch_region in order to filter your results by a specific watch provider in a specific region.
watch_region
An ISO 3166-1 code.
Combine this filter with with_watch_providers in order to filter your results by a specific watch provider in a specific region.

Example

https://api.themoviedb.org/3/discover/tv?api_key=THE_KEY&language=en-US&sort_by=first_air_date.desc&first_air_date_year=2017&page=1&with_watch_providers=8&watch_region=IN

We don't want to use with_watch_providers we want content from specific country without passing provider id

We want data from all provider

watch_region only works in conjunction with either with_watch_monetization_types or with_watch_providers. It cannot be used by itself.

@Doloreste said:
We don't want to use with_watch_providers we want content from specific country without passing provider id
We want data from all provider

I don't know of a solution without using provider IDs.
It is possible to get the list of all providers in a country.
https://developers.themoviedb.org/3/watch-providers/get-tv-providers

https://api.themoviedb.org/3/watch/providers/tv?api_key=THE_KEY&language=en-US&watch_region=IN  

And you can use that list of IDs in a Discover API Request with the filter.
&with_watch_providers=8|122|121|220|232|223 etc...

https://api.themoviedb.org/3/discover/tv?api_key=THE_KEY&language=en-US&sort_by=popularity.desc&page=1&watch_region=IN&with_watch_providers=8|122|121|220|232|223

In us total 175 providers If I pass all providers id like &with_watch_providers=8|122|121|220|232|223 then I think is not feasible and am not sure it work or not

It would be easier if you used the with_watch_monetization_types filter I mentioned above:

?watch_region=US&with_watch_monetization_types=flatrate

But it will give only result for flat rate and what about rent, subscription etc?

If I use this like:

?watch_region=US&with_watch_monetization_types=flatrate|free|ads|rent|buy

then it will give all result or not please confirm?

then it will give all result or not please confirm?

Yes, that’s right, all results.

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

Settings

Want to rate or add this item to a list?

เข้าสู่ระบบ