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
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 January 31, 2023 at 6:37 AM
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
Example
Reply by Streamthemall
on January 31, 2023 at 8:14 AM
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
Reply by Travis Bell
on January 31, 2023 at 10:39 AM
watch_region
only works in conjunction with eitherwith_watch_monetization_types
orwith_watch_providers
. It cannot be used by itself.Reply by ticao2 🇧🇷 pt-BR
on January 31, 2023 at 10:46 AM
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
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...
Reply by Streamthemall
on February 1, 2023 at 1:24 AM
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
Reply by Travis Bell
on February 1, 2023 at 1:55 AM
It would be easier if you used the
with_watch_monetization_types
filter I mentioned above:Reply by Streamthemall
on February 1, 2023 at 2:36 AM
But it will give only result for flat rate and what about rent, subscription etc?
If I use this like:
then it will give all result or not please confirm?
Reply by Travis Bell
on February 1, 2023 at 9:09 AM
Yes, that’s right, all results.