Suporte do The Movie Database

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 respostas (na página 1 de 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.

Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em páginas de temporadas de séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade