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 movie 742235 "First part till… FALSE FALSE 0 2024-12-01 21:53:09
#> 3 movie 697920 "Dont bother wit… FALSE FALSE 0 2024-07-25 21:12:37
#> 4 movie 725724 "Smile 2 delves … FALSE FALSE 0 2024-10-21 19:56:39
#> 5 movie 730964 "Film bros will … TRUE FALSE 0 2024-11-02 01:47:02
#> 6 episode 109424 "8.2/10. This is… FALSE TRUE 0 2017-01-07 19:31:01
#> 7 episode 739619 "This was the be… FALSE FALSE 0 2024-11-24 06:23:53
#> 8 episode 742234 "I hate these st… FALSE FALSE 0 2024-12-01 21:51:29
#> 9 episode 742232 "I enjoyed this … FALSE FALSE 0 2024-12-01 21:49:10
#> 10 episode 742233 "decided to watc… FALSE FALSE 0 2024-12-01 21:50:54
#> # ℹ 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>