R/game.R

#' game data
#' 
#' Wraps the \href{https://developer.riotgames.com/api/methods#!/1078}{team} api method
#' 
#' @param summoner_id a numeric
#' 
#' @export

game <- function(summoner_id){
  api_fetch("game/by-summoner", paste0(summoner_id, "/recent"))
} 
Tutuchan/lolapi documentation built on May 9, 2019, 5:17 p.m.