Skip to contents

Get popular / trending lists

Usage

lists_popular(limit = 10)

lists_trending(limit = 10)

Source

lists_popular() wraps endpoint lists/popular.

lists_trending() wraps endpoint lists/trending.

Arguments

limit

integer(1) [10L]: Number of items to return. Must be greater than 0 and will be coerced via as.integer().

Value

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.

Examples

if (FALSE) {
lists_popular()
lists_trending()
}