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 × 31
#> type id comment spoiler review parent_id created_at
#> <chr> <int> <chr> <lgl> <lgl> <int> <dttm>
#> 1 show 687390 "Best show on Fo… FALSE FALSE 0 2024-06-24 08:03:43
#> 2 episode 718445 "Not only (proba… FALSE FALSE 0 2024-10-01 18:18:46
#> 3 episode 578525 "I liked this ep… FALSE FALSE 0 2023-07-04 22:01:26
#> 4 episode 577543 "we all knew it,… FALSE FALSE 0 2023-07-01 15:31:02
#> 5 episode 718444 "Charge, horseme… TRUE FALSE 0 2024-10-01 18:17:20
#> 6 episode 677507 "Great it's fina… FALSE FALSE 0 2024-05-24 06:42:13
#> 7 episode 684773 "Love this show … FALSE FALSE 0 2024-06-16 13:18:48
#> 8 episode 699917 "That was a exce… FALSE FALSE 0 2024-08-01 20:31:29
#> 9 episode 718443 "LMAO, what the … FALSE FALSE 0 2024-10-01 18:14:20
#> 10 movie 553493 "\"Dungeons &… FALSE FALSE 0 2023-04-01 12:41:55
#> # ℹ 24 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>,
#> # episode_season <int>, episode_number <int>, episode_title <chr>,
#> # episode_trakt <chr>, episode_tvdb <chr>, episode_imdb <chr>,
#> # episode_tmdb <chr>