Get Leagues for Sport(s) by ID
Returns all Leagues for the Sport(s)
GetLeaguesByID(sportid, force = TRUE)
sportid |
integer vector of sports IDs |
force |
boolean whether to get new data (TRUE) or use cached data (FALSE) |
a data frame having columns:
LeagueID
LinesAvailable
HomeTeam
AllowRoundRobin
LeagueName
SetCredentials("TESTAPI","APITEST") AcceptTermsAndConditions(accepted=TRUE) GetLeaguesByID(1)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.