Description Usage Arguments Value Examples
Returns all Leagues for the Sport(s)
1 | 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
1 2 3 | SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
GetLeagues("Badminton")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.