get_teams: Get information about a team and its roster

Description Usage Arguments Value

View source: R/get_teams.R

Description

Get information about a team and its roster

Usage

1
get_teams(team_slug, save_details = FALSE, hl = "en-US")

Arguments

team_slug

string. The team id or slug name.

save_details

logical. Should a detailed object with the appropriate response values of the query be returned or just the relevant tables of that response

hl

string. Locale or language code using ISO 639-1 and ISO 3166-1 alpha-2.

Value

If save_detals is 'TRUE', an object of class 'teams' with details of the query. Otherwise, a list of two tables, one for the team data, one for the player data of that team.


flsck/rlolesports documentation built on April 4, 2021, 6:59 p.m.