collected_media | R Documentation |
These functions return the most collected movies/shows on trakt.tv.
movies_collected(
limit = 10,
extended = c("min", "full"),
period = c("weekly", "monthly", "yearly", "all"),
query = NULL,
years = NULL,
genres = NULL,
languages = NULL,
countries = NULL,
runtimes = NULL,
ratings = NULL,
certifications = NULL
)
shows_collected(
limit = 10,
extended = c("min", "full"),
period = c("weekly", "monthly", "yearly", "all"),
query = NULL,
years = NULL,
genres = NULL,
languages = NULL,
countries = NULL,
runtimes = NULL,
ratings = NULL,
certifications = NULL,
networks = NULL,
status = NULL
)
limit |
|
extended |
|
period |
|
query |
|
years |
|
genres |
|
languages |
|
countries |
|
runtimes |
|
ratings |
|
certifications |
|
networks |
|
status |
|
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.
These functions access the automatically updated lists provided by trakt.tv. Each function comes in two flavors: Shows or movies. The following descriptions are adapted directly from the API reference.
Popular: Popularity is calculated using the rating percentage and the number of ratings.
Trending: Returns all movies/shows being watched right now. Movies/shows with the most users are returned first.
Played: Returns the most played (a single user can watch multiple times)
movies/shows in the specified time period
.
Watched: Returns the most watched (unique users) movies/shows in the specified
time period
.
Collected: Returns the most collected (unique users) movies/shows in the
specified time period
.
Anticipated: Returns the most anticipated movies/shows based on the number of
lists a movie/show appears on.
The functions for Played, Watched, Collected and Played each return
the same additional variables besides the media information: watcher_count
,
play_count
, collected_count
, collector_count
.
movies_collected()
wraps endpoint movies/collected/:period.
shows_collected()
wraps endpoint shows/collected/:period.
Other movie data:
anticipated_media
,
media_aliases
,
media_comments
,
media_lists
,
media_people
,
media_ratings()
,
media_stats()
,
media_translations
,
media_watching
,
movies_boxoffice()
,
movies_related()
,
movies_releases()
,
movies_summary()
,
people_media()
,
played_media
,
popular_media
,
trending_media
,
watched_media
Other dynamic lists:
anticipated_media
,
lists_popular()
,
played_media
,
popular_media
,
trending_media
,
watched_media
Other show data:
media_aliases
,
media_comments
,
media_lists
,
media_people
,
media_ratings()
,
media_stats()
,
media_translations
,
media_watching
,
people_media()
,
played_media
,
shows_next_episode()
,
shows_related()
,
shows_summary()
Other dynamic lists:
anticipated_media
,
lists_popular()
,
played_media
,
popular_media
,
trending_media
,
watched_media
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.