🍿 @lorenzopant/tmdb

Episode Groups

Get the episode groups that have been added to a TV show.

Get the episode groups that have been added to a TV show. Use the returned group ID with the TV episode group details endpoint to get the full group structure.

async episode_groups(params: TVBaseParam): Promise<TVEpisodeGroups>

TMDB Reference: TV Series Episode Groups

Parameters

NameTypeRequiredDescription
series_idnumberTMDB TV series identifier.

Returns

TVEpisodeGroups

Example

const { results } = await tmdb.tvSeries.episode_groups({ series_id: 1396 });

console.log(results.map((g) => `${g.name} (${g.episode_count} episodes)`));

On this page