View source: R/seasons_summary.R
seasons_summary | R Documentation |
Get details for a show's seasons, e.g. how many seasons there are and how many epsiodes
each season has. With episodes == TRUE
and extended == "full"
, this function
is also suitable to retrieve all episode data for all seasons of a show with
just a single API call.
seasons_summary(
id,
episodes = FALSE,
drop_specials = TRUE,
drop_unaired = TRUE,
extended = c("min", "full")
)
id |
|
episodes |
|
drop_specials |
|
drop_unaired |
|
extended |
|
A tibble(). If the function has a limit
parameter
(defaulting to 10
), this will be the (maximum) number of rows of the tibble
.
If there are no results (or the API is unreachable), an empty tibble()
is returned.
seasons_summary()
wraps endpoint shows/:id/seasons.
Other season data:
media_comments
,
media_lists
,
media_people
,
media_ratings()
,
media_stats()
,
seasons_season()
Other episode data:
episodes_summary()
,
media_comments
,
media_lists
,
media_people
,
media_ratings()
,
media_stats()
,
media_translations
,
media_watching
,
seasons_season()
,
shows_next_episode()
Other summary methods:
comments_comment()
,
episodes_summary()
,
movies_summary()
,
people_summary()
,
shows_summary()
,
user_profile()
# Get just the season numbers and their IDs
seasons_summary("breaking-bad", extended = "min")
## Not run:
# Get season numbers, ratings, votes, titles and other metadata as well as
# a list-column containing all episode data
seasons_summary("utopia", extended = "full", episodes = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.