https://api.themoviedb.org/3/movie/top_rated?api_key=${process.env.REACT_APP_API_KEY}&language=en-US&page=1®ion=US
I don't know what I'm doing wrong here. I just want to get back top rated movies that are relevant to the USA. Apparently no one else has this problem. I'm getting back movies from India and Japan that I have never heard of. Can someone please help me?! I plan on doing the same thing with people and popular movies. Just USA actors and movies please. Not from other countries.
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 July 3, 2018 at 3:03 AM
https://developers.themoviedb.org/3/movies/get-top-rated-movies
region > string > Specify a ISO 3166-1 code to filter release dates. Must be uppercase. pattern: [A-Z]{2}$
Any movie, from any country in the world, that has, here in the TMDb, a date of exhibition in the USA.
I think you need to use the append_to_response function with a parameter, for example, production_countries
See here https://developers.themoviedb.org/3/movies/get-movie-details
I have not used it that way, so I can not help much.
Reply by Travis Bell
on July 5, 2018 at 6:55 PM
Hi @CarterChilds,
Unfortunately, there isn't really a way to do this right now. You could use the
certification
filters on disvover but you'll be limited to movies that have a US certification added. Example:If that's enough for you, you can add in any of the other discover filters to craft a custom query (sorting by rating, adding a min vote, etc...)
The (most likely?) better option would be an open ticket that I have, which is to add a filter for production country.