Description Usage Arguments Value Examples
Get Odds
1 2 |
sportid |
(optional) The sport id for which to retrieve the fixutres |
leagueids |
(optional) integer vector of leagueids. |
since |
(optional) numeric This is used to receive incremental updates. Use the value of last from previous response. |
islive |
boolean if TRUE retrieves ONLY live events |
oddsformat |
default AMERICAN, see API manual for more options |
tableformat |
|
force |
boolean if FALSE, functions using cached data will use the values since the last force |
data.frame of odds
1 2 3 4 | SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted = TRUE)
# We can run without parameters, and will be given a selection of sports
GetOdds()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.