Get recently updated/edited comments
Source
comments_updates()
wraps endpoint comments/updates/:comment_type/:type?include_replies=.
Arguments
- comment_type
character(1) ["all"]
: The type of comment, one of "all", "reviews" or "shouts".- type
character(1) ["all"]
: The type of media to filter by, one of "all", "movies", "shows", "seasons", "episodes" or "lists".- include_replies
logical(1) [FALSE]
: Whether to include replies.- limit
integer(1) [10L]
: Number of items to return. Must be greater than0
and will be coerced viaas.integer()
.
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.
See also
Other comment methods:
comments_comment()
,
comments_trending()
,
media_comments
,
user_comments()
,
user_list_comments()
Examples
# Recently updated comments
comments_updates()
#> # A tibble: 10 × 35
#> type id comment spoiler review parent_id created_at
#> <chr> <int> <chr> <lgl> <lgl> <int> <dttm>
#> 1 season 502240 "_Castle_’s seve… FALSE FALSE 0 2022-09-14 23:00:00
#> 2 episode 664645 "The Jey Uso/Sam… FALSE FALSE 0 2024-04-16 06:06:04
#> 3 episode 664659 "This episode sh… FALSE FALSE 0 2024-04-16 08:04:52
#> 4 episode 533163 "There is an aft… FALSE FALSE 0 2023-01-13 11:21:18
#> 5 movie 133729 "This is one of … FALSE FALSE 0 2017-07-14 22:47:43
#> 6 show 664725 "The final 2 epi… FALSE FALSE 0 2024-04-16 14:43:50
#> 7 show 664558 "A very well wri… FALSE FALSE 0 2024-04-15 23:01:46
#> 8 show 664139 "Hiring Genocida… FALSE FALSE 0 2024-04-14 16:48:30
#> 9 show 552753 "In/Spectre is a… FALSE FALSE 0 2023-03-29 14:50:45
#> 10 show 28277 "Lovan sh and jw" FALSE FALSE 0 2013-12-18 13:28:56
#> # ℹ 28 more variables: updated_at <dttm>, replies <int>, likes <int>,
#> # user_rating <int>, username <chr>, private <lgl>, user_name <chr>,
#> # vip <lgl>, vip_ep <lgl>, user_slug <chr>, title <chr>, year <int>,
#> # trakt <chr>, slug <chr>, tvdb <chr>, imdb <chr>, tmdb <chr>,
#> # season_number <int>, season_trakt <chr>, season_tvdb <chr>,
#> # season_tmdb <chr>, episode_season <int>, episode_number <int>,
#> # episode_title <chr>, episode_trakt <chr>, episode_tvdb <chr>, …