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!
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por robbie3999
el 3 de noviembre de 2023 a las 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.
Contestado por PororoManon
el 3 de noviembre de 2023 a las 22: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.