Is there a way to filter out adult films when using Combined Credits API?
I'm currently seeing a bunch of adult films when searching for Asa Akira combined credits for example: https://api.themoviedb.org/3/person/232008/combined_credits?language=en-US
And I need to filter out adult films as my app is rated for ages 13+
Thanks in advance!
Ne najdete filma ali serije? Prijavite se, da ga/jo ustvarite.
Want to rate or add this item to a list?
Not a member?
robbie3999 je odgovoril
dne julij 13, 2023 ob 8:36 PM
Hi @lgrube3, I don't see any way to do this. Someone else may come along with with a solution I haven't thought of.
I am wondering, since the adult flag is returned in the results, why can't you solve this by coding to skip the results that are flagged adult?
lgrube3 je odgovoril
dne julij 13, 2023 ob 8:43 PM
Thanks! I might need to do some filtering on the front-end.
Any plans to add this as a query param?
robbie3999 je odgovoril
dne julij 13, 2023 ob 9:18 PM
I would guess not for that particular query and filter, but here are all the future plans.
ticao2 🇧🇷 pt-BR je odgovoril
dne julij 14, 2023 ob 7:18 AM
I don't know if it solves your problem, but...
It is only possible with movies using Discover.
https://developer.themoviedb.org/reference/discover-movie
Examples with 232008, Asa Akira, using &include_adult= false and true:
lgrube3 je odgovoril
dne julij 14, 2023 ob 12:08 PM
I need tv shows included as well but this is a nice approach. Thanks for sharing.