powered by
GetBetsList(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)
SetCredentials("TESTAPI","APITEST") AcceptTermsAndConditions(accepted=TRUE) GetBetsList()
Run the code above in your browser using DataLab