get_avatar_picture {sleeperapi}R Documentation

Display Avatar

Description

Given an avatar ID, grab the picture (full or thumbnail) concerning that particular avatar. Note that this function downloads the image into your temporary directory to display it. Then, the function deletes the file before completing.

Usage

get_avatar_picture(avatar_id, type = "full")

Arguments

avatar_id

Avatar ID generated by Sleeper (character)

type

String that is either "full" or "thumbnail"

Value

Returns a picture displaying the avatar picture

Author(s)

Nick Bultman, njbultman74@gmail.com, October 2021

Examples

## Not run: get_avatar_picture("c751b27d9158c1dd41bd33dc7e4bcdde", type = "full")


[Package sleeperapi version 1.0.4 Index]