View source: R/user_list_items.R
user_list_items | R Documentation |
Get a user's list's items
user_list_items(
user = getOption("trakt_username"),
list_id,
type = NULL,
extended = c("min", "full")
)
user |
|
list_id |
The list identifier, either |
type |
|
extended |
|
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.
user_list_items()
wraps endpoint users/:id/lists/:list_id/items/:type.
Other list methods:
lists_popular()
,
media_lists
,
user_list()
,
user_list_comments()
,
user_lists()
## Not run:
# A large list with various media types
# All items
user_list_items("sp1ti", list_id = "5615781", extended = "min")
# Movies only
user_list_items("sp1ti", list_id = "5615781", extended = "min", type = "movie")
# Shows...
user_list_items("sp1ti", list_id = "5615781", extended = "min", type = "shows")
# Only seasons
user_list_items("sp1ti", list_id = "5615781", extended = "min", type = "season")
# Only episodes
user_list_items("sp1ti", list_id = "5615781", extended = "min", type = "episodes")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.