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
بتاريخ نوفمبر 3, 2023 في 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
بتاريخ نوفمبر 3, 2023 في 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.