Learn R Programming

TMDb (version 1.1)

network: Get the name of a TV network by ID.

Description

Retrieve the name of a TV network.

Usage

network(api_key, id)

Arguments

api_key

Your TMDb Consumer Key.

id

The network ID.

Value

A list with the following fields:

id

The network ID.

name

The name of network.

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"

network(api_key = api_key, id = 49)
# }

Run the code above in your browser using DataLab