🍿 @lorenzopant/tmdb

On The Air

Get a list of TV shows airing in the next 7 days.

Get a list of TV shows that will air in the next 7 days. Use the timezone parameter to anchor the date window to a specific region.

async on_the_air(params?: TVSeriesListParams): Promise<PaginatedResponse<TVSeriesResultItem>>

TMDB Reference: TV On The Air

Parameters

NameTypeRequiredDescription
languageLanguageLanguage for localized results. Defaults to en-US.
pagenumberPage number for paginated results. Defaults to 1.
timezonestringTimezone to anchor the 7-day window (e.g., "Europe/Rome").

Returns

PaginatedResponse<TVSeriesResultItem>

Example

const { results } = await tmdb.tvSeriesLists.on_the_air({
	language: "en-US",
	timezone: "Europe/Rome",
	page: 1,
});

console.log(results.map((s) => s.name));

On this page