user_stats: Returns stats about the movies, shows, and episodes a user...

View source: R/user_stats.R

user_statsR Documentation

Returns stats about the movies, shows, and episodes a user has watched, collected, and rated.

Description

Data about a user's interactions with movies, shows, seasons, episodes, as well as their social network (friends, followings, followers) and a frequency table of the user's media ratings so far.

Usage

user_stats(user = getOption("trakt_username"))

Arguments

user

character(1): Target username (or slug). Defaults to getOption("trakt_username"). Can also be of length greater than 1, in which case the function is called on all user values separately and the result is combined.

Value

A list of tibbles containing the following elements:

  • "movies"

  • "shows"

  • "seasons"

  • "episodes"

  • "network"

  • "ratings"

Source

user_stats() wraps endpoint users/:id/stats.

See Also

Other user data: user_collection(), user_comments(), user_history(), user_likes(), user_network(), user_profile(), user_ratings(), user_watched(), user_watchlist()

Examples

## Not run: 
user_stats(user = "sean")

## End(Not run)

jemus42/tRakt documentation built on May 4, 2024, 9:21 a.m.