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!
找不到电影或节目?登录并创建它吧。
robbie3999 的回复
于 2023 年 11 月 03 日 11:22上午
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.
PororoManon 的回复
于 2023 年 11 月 03 日 10:45下午
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.