Get Leagues for Sport(s) by name
Returns all Leagues for the Sport(s)
GetLeagues(sports, force = TRUE, regex = FALSE)
sports |
character vector of sports names. |
force |
Default=FALSE, boolean if TRUE force a reload of the data if FALSE use cached data |
regex |
Default=FALSE, boolean if TRUE , retreives sports id using regular expression on names |
a data frame having columns:
LeagueID
LinesAvailable
HomeTeam
AllowRoundRobin
LeagueName
SetCredentials("TESTAPI","APITEST") AcceptTermsAndConditions(accepted=TRUE) GetLeagues("Badminton")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.