Skip to contents

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 = "me")

Source

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

Arguments

user

character(1): Target username (or slug). Defaults to "me", the OAuth user. 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"

Examples

if (FALSE) { # \dontrun{
user_stats(user = "sean")
} # }