GetBettingStatus: Check the Pinnacle API's Betting Status
Description
Checks whether betting through the API is currently enabled. Betting,
particularly betting on live events, may be closed during maintenance.
Usage
GetBettingStatus()
Arguments
Value
A string containing the betting status of the API, which should be one of
ALL_BETTING_ENABLED
ALL_LIVE_BETTING_CLOSED
ALL_BETTING_CLOSED
Details
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.