comments_updates: Get recently updated/edited comments

View source: R/comments_trending.R

comments_updatesR Documentation

Get recently updated/edited comments

Description

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
)

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.

Source

comments_updates() wraps endpoint comments/updates/:comment_type/:type?include_replies=.

See Also

Other comment methods: comments_comment(), comments_trending(), media_comments, user_comments(), user_list_comments()

Examples

# Recently updated comments
comments_updates()

jemus42/tRakt documentation built on April 19, 2024, 3:25 a.m.