Learn R Programming

sleeperapi (version 1.0.4)

get_user: Gather User Data

Description

Given a user ID, grab the data concerning that particular user. This includes username, user ID, display name, and more.

Usage

get_user(user_id)

Value

Returns a list containing information about the user.

Arguments

user_id

User ID generated by Sleeper (numeric or character)

Author

Nick Bultman, njbultman74@gmail.com, September 2021

Examples

Run this code
if (FALSE) get_user(688556535013502976)

Run the code above in your browser using DataLab