These functions return recently updated movies/shows on trakt.tv.
Source
movies_updates()
wraps endpoint movies/updates/:start_date.
shows_updates()
wraps endpoint shows/updates/:start_date.
Arguments
- limit
integer(1) [10L]
: Number of items to return. Must be greater than0
and will be coerced viaas.integer()
.- extended
character(1)
: Either"min"
(API default) or"full"
. The latter returns more variables and should generally only be used if required. Seevignette("finding-things")
for more details.- start_date
character(1)
: A date in the past from which on to count updates. If no date is supplied, the default is to use yesterday relative to the current date. Value must either be standardYYYY-MM-DD
format or an object of class Date, which will then be coerced via as.character().
Value
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.
The Dynamic Lists on trakt.tv
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.
Updates: Returns all movies/shows updated since the specified UTC
start_date
. In this case, the upper bound forlimit
is 100.
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
.
See also
Other movie data:
anticipated_media
,
collected_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 show data:
collected_media
,
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()