user_list | R Documentation |
Retrieve a single list a user has created together with information about the user.
Use extended = "full"
to retrieve all user profile data, similiar to user_profile.
The returned variables trakt
(list ID) or slug
(list slug) can be used to
retrieve the list's items via user_list_items.
user_list(
user = getOption("trakt_username"),
list_id,
extended = c("min", "full")
)
user |
|
list_id |
The list identifier, either |
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.
In the embedded user data, name
is renamed to user_name
due
to duplication with e.g. list names,
and slug
is renamed to user_slug
for the same reason.
user_list for only a single list.
user_list_items For the actual content of a list.
Other list methods:
lists_popular()
,
media_lists
,
user_list_comments()
,
user_list_items()
,
user_lists()
## Not run:
user_list("jemus42", list_id = 2121308)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.