Learn R Programming

TMDb (version 1.1)

tv_airing_today: Retrieve TV shows on air.

Description

Get the list of TV shows that air today.

Usage

tv_airing_today(api_key, page = 1, language = NA, timezone = NA)

Arguments

api_key

Your TMDb Consumer Key.

page

The number of the page to show. Minimum 1, maximum 1000.

language

A ISO 639-1 code.

timezone

Valid value from the list of timezones.

Value

A list with the following fields:

page

The current page for the results.

results

The TV shows that are on air in the current day.

total_pages

The number of pages for the results.

total_results

The number of results.

Details

Without a specified timezone, this query defaults to EST (Eastern Time UTC-05:00).

References

https://developers.themoviedb.org/3/getting-started

Examples

Run this code
# NOT RUN {
## An example of an authenticated request,
## where api_key is fictitious.
## You can obtain your own at https://www.themoviedb.org/documentation/api

api_key <- "key"

tv_on_the_air(api_key = api_key)
# }

Run the code above in your browser using DataLab