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
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?