Description Usage Arguments Value
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.
1 | get_leagues(save_details = FALSE, hl = "en-US")
|
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.