The Movie Database Support

I am attempting to get the series, seasons and episodes for single series. I am finding the only way to get the episodes is to iterate the results of the tv show and make a secondary call like

https://api.themoviedb.org/3/tv/123?api_key=key&append_to_response=season/1,season/2,season/3,season/4,season/5,season/6

My problem is, the response has the series/1 object in it but the season id is not present. I do see a strange _id but it appears to be some internal unrelated seasonId.

Is there a way to get the season id in the season response this way?

Example section of the season/1 response

(
    [_id] => 5256c89f19c2956ff6046d47
    [air_date] => 2011-04-17
    [name] => Season 1
    [overview] => Trouble is brewing in the Seven Kingdoms of Westeros. For the driven inhabitants of this visionary world, control of Westeros' Iron Throne holds the lure of great power. But in a land where the seasons can last a lifetime, winter is coming...and beyond the Great Wall that protects them, an ancient evil has returned. In Season One, the story centers on three primary areas: the Stark and the Lannister families, whose designs on controlling the throne threaten a tenuous peace; the dragon princess Daenerys, heir to the former dynasty, who waits just over the Narrow Sea with her malevolent brother Viserys; and the Great Wall--a massive barrier of ice where a forgotten danger is stirring.
    [poster_path] => /wgfKiqzuMrFIkU1M68DDDY8kGC1.jpg
    [season_number] => 1
)

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

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

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login