Description Usage Details Value Examples
View source: R/GetBettingStatus.R
Checks whether betting through the API is currently enabled. Betting, particularly betting on live events, may be closed during maintenance.
1 |
This function will raise an error if the API does not return HTTP status
OK
. For information on the possible errors, see the API documentation
for Get Betting Status.
A string containing the betting status of the API, which should be one of
ALL_BETTING_ENABLED
ALL_LIVE_BETTING_CLOSED
ALL_BETTING_CLOSED
1 2 3 | SetCredentials("TESTAPI", "APITEST")
AcceptTermsAndConditions(accepted = TRUE)
GetBettingStatus()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.