get_leagues: Get information about a league, the standings and its various...

Description Usage Arguments Value

View source: R/get_leagues.R

Description

The function is used to get detailed information about specific leagues. The data.frame contained in the returned list gives information about a leagues region, id, icon and more.

Usage

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

Arguments

save_details

logical. Should a detailed list, including the API response be returned, or just a data.frame?

hl

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

Value

A list containing a data.frame witht the information about the leagues, the used language code and the response to the original GET request contained in the function.


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