I create apps for Korean drama, so I only show TV series from Korea (with_origin_country=KR) and with drama (with_genres=18) genre. if I use api.themoviedb.org/3/tv/[id]/recommendations
, I get mixed recommendation; have other country TV series.
What should API I use if I want to have that result? so I can send request like this parameter api.themoviedb.org/3/tv/[id]/recommendations?&with_origin_country=KR&with_genre=18&api_key=[api]
Thank you!
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 robbie3999
on November 3, 2023 at 11:22 AM
Hi @PororoManon, as far as I know there is no way to add filters to the recommendations endpoint.
I would think that if the tv_id was a Korean drama then perhaps the recommendations endpoint would return some of those, but you would have to filter out the others on your end.
The other approach would be to use the discover tv endpoint, where you could apply the filters, but these would not be recommendations on the specific tv_id, so again you would probably have to filter out some titles on your end.
Someone else may come along with a better idea.
Reply by PororoManon
on November 3, 2023 at 10:45 PM
yes. if you hit endpoint with Korean drama tv_id you will get some korean drama recommendation too. Now I filter it manually.
I already use this API for popular section, and it return all Korean drama because I can filter it.