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!
Nemôžeš nájsť film alebo seriál? Prihlás sa a pridaj ho.
Chcete ohodnotiť alebo pridať túto položku do zoznamu?
Nie ste členom?
Odpoveď od robbie3999
dňa 3. november, 2023 o 11:22AM
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.
Odpoveď od PororoManon
dňa 3. november, 2023 o 10:45PM
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.