View source: R/get_avatar_picture.R
get_avatar_picture | R Documentation |
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. If it would be preferred to keep the image at the temporary location, set the keep_image argument to TRUE (default is FALSE).
get_avatar_picture(avatar_id, type = "full", keep_image = FALSE)
avatar_id |
Avatar ID generated by Sleeper (character) |
type |
String that is either "full" or "thumbnail" |
keep_image |
FALSE to delete the image after displaying it or TRUE to keep it |
Returns a picture displaying the avatar picture
Nick Bultman, njbultman74@gmail.com, October 2021
## Not run: get_avatar_picture("c751b27d9158c1dd41bd33dc7e4bcdde",
type = "full",
keep_image = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.