Skip to content

Instantly share code, notes, and snippets.

@RyanHope
RyanHope / LoL.R
Last active July 12, 2020 12:18
R Riot LoL
require(RCurl)
require(rjson)
require(stringr)
require(rgexf)
getRiotKey <- function() {
key <- getOption("riot.key")
if (is.null(key))
stop("getOption(\"riot.key\") returned NULL.")
key