Suporte do The Movie Database

Hi,

I'm using JavaScript to fetch information related to tv-shows with the following URL:

let tv_show_name = "The Big Bang Theory";
let tv_show_id = "1418";
let API_KEY = "...";

let url = "https://api.themoviedb.org/3/tv/" + tv_show_id  + "?api_key=" + API_KEY + "&append_to_response=episode_groups&language=en"

The above code is working great, im able to get number of seasons and total number of episodes. But now i want to get number of episodes per season, and title of each episode. So i tried using the information listed under _episode_groups _ but is not listed for all the tv_shows.

So my question is how to get number of seasons, number of episodes per season and title of each episode using the above url? If that is not possible, which API i have to trigger to get the data listed in this page: https://www.themoviedb.org/tv/1418-the-big-bang-theory/seasons

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