Suporte do The Movie Database

I have a selfish clarifying question. Ultimately, the answer to my question is probably "my code should be more forgiving", but I can't help but ask.

Are there any sort of guarantees — implied or otherwise — that data will have a minimum of fields, like, id?

As I sit here right now, if you load Ted Lasso Season 2 (API URL: https://api.themoviedb.org/3/tv/97546/season/2 ) returns the following crew member:

{
  "job": "Second Assistant Director",
  "department": "Directing",
  "person_id": "5c932a84c3a36861abe32a17",
  "credit_id": "61582e858e2ba6008be0742c"
}

This is episodes[8].crew[17]. It doesn't even have an id. Which, coincidentally, my JSON parsing code considers table stakes.

Is this… expected? I feel like this should be filtered out and/or rejected on the API level, but I'll be the first to admit it's completely self-centered for me to say so.

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