Skip to contents

Get recently updated/edited comments

Usage

comments_updates(
  comment_type = c("all", "reviews", "shouts"),
  type = c("all", "movies", "shows", "seasons", "episodes", "lists"),
  include_replies = FALSE,
  limit = 10L
)

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 than 0 and will be coerced via as.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.

Examples

# Recently updated comments
comments_updates()
#> # A tibble: 10 × 33
#>    type        id comment           spoiler review parent_id created_at         
#>    <chr>    <int> <chr>             <lgl>   <lgl>      <int> <dttm>             
#>  1 movie   805309 "A little bit of… FALSE   FALSE          0 2025-04-28 12:40:30
#>  2 movie   805305 "Awesome, love h… FALSE   FALSE          0 2025-04-28 12:34:20
#>  3 show    805310 "It's extremely … FALSE   FALSE          0 2025-04-28 12:40:49
#>  4 show    805308 "Very generic No… FALSE   FALSE          0 2025-04-28 12:38:53
#>  5 show    567325 "I’m afraid I ca… FALSE   FALSE          0 2023-05-24 12:01:11
#>  6 show    534675 "Walking dead al… FALSE   FALSE          0 2023-01-18 14:22:53
#>  7 show    546776 "[Netflix] Funni… FALSE   FALSE          0 2023-03-06 14:58:51
#>  8 show       759 "i correct mysel… FALSE   FALSE          0 2010-12-25 19:33:00
#>  9 episode 805307 "What a terrible… FALSE   FALSE          0 2025-04-28 12:34:38
#> 10 episode 805306 "I'm sorry, but … FALSE   FALSE          0 2025-04-28 12:34:25
#> # ℹ 26 more variables: updated_at <dttm>, replies <int>, likes <int>,
#> #   user_rating <int>, username <chr>, private <lgl>, deleted <lgl>,
#> #   user_name <chr>, vip <lgl>, vip_ep <lgl>, director <lgl>, user_slug <chr>,
#> #   title <chr>, year <int>, trakt <chr>, slug <chr>, imdb <chr>, tmdb <chr>,
#> #   tvdb <chr>, episode_season <int>, episode_number <int>,
#> #   episode_title <chr>, episode_trakt <chr>, episode_tvdb <chr>,
#> #   episode_imdb <chr>, episode_tmdb <chr>