The Movie Database support

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!

5 svar (på side 1 af 1)

Jump to last post

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?

Thanks! I might need to do some filtering on the front-end.

Any plans to add this as a query param?

I would guess not for that particular query and filter, but here are all the future plans.

@lgrube3 said:
Any plans to add this as a query param?

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:

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&include_adult=false&include_video=false&language=en-US&page=1&sort_by=popularity.desc&with_people=232008
total_pages 1
total_results   5

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&include_adult=true&include_video=false&language=en-US&page=1&sort_by=popularity.desc&with_people=232008
total_pages 16
total_results   312

I need tv shows included as well but this is a nice approach. Thanks for sharing.

Kan du ikke finde en film eller TV-serie? Log in og opret den.

Global

s focus the search bar
p open profile menu
esc luk et åbent vindue
? open keyboard shortcut window

PÃ¥ mediesider

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

PÃ¥ alle billedesider

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

PÃ¥ diskussionssider

n opret ny diskussion
w toggle watching status
p toggle public/private
c toggle close/open
a åben aktivitet
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Indstillinger

Want to rate or add this item to a list?

Log ind