R/champion.R

#' champion data
#' 
#' Wraps the \href{https://developer.riotgames.com/api/methods#!/1077}{champion} api method
#' @export
champion <- function(id = NULL, freeToPlay = NULL){
  api_fetch("champion", id, freeToPlay = freeToPlay)$champions
}
Tutuchan/lolapi documentation built on May 9, 2019, 5:17 p.m.