Description Usage Arguments Value Examples
Get a list of running/settled bets
| 1 2 3 | GetBetsList(betids = NULL, betlist = c("SETTLED", "RUNNING"),
  fromDate = as.POSIXlt(Sys.Date(), tz = "UTC") - 15 * 24 * 60 * 60,
  toDate = as.POSIXlt(Sys.Date(), tz = "UTC") + 24 * 60 * 60)
 | 
| betids | a vector of betids (overrides betlist) default = NULL | 
| betlist | Either 'SETTLED' or 'RUNNING' Default Behavior shows both | 
| fromDate | Iso8061 Date Default: 15 days prior in UTC, as.POSIXct(Sys.Date(), tz = 'UTC')-15*24*60*60 | 
| toDate | Iso8061 Date Default: 1 day ahead in UTC (to counter possible fencepost situations), as.POSIXct(Sys.Date(), tz = 'UTC') + 24*60*60 | 
A list of bets and associated details
| 1 2 3 | SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
GetBetsList()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.