Learn R Programming

rtoot (version 0.3.4)

get_lists: View your lists

Description

Fetch all lists the user owns

Usage

get_lists(id = "", token = NULL, parse = TRUE)

Value

a tibble or list of lists owned by the user

Arguments

id

character, either the id of a list to return or "" to show all lists

token

bearer token created with create_token

parse

logical, if TRUE, the default, returns a tibble. Use FALSE to return the "raw" list corresponding to the JSON returned from the Mastodon API

Examples

Run this code
if (FALSE) {
get_lists()
}

Run the code above in your browser using DataLab