GetBettingStatus: Check the Pinnacle API's Betting Status

Description Usage Details Value Examples

Description

Checks whether betting through the API is currently enabled. Betting, particularly betting on live events, may be closed during maintenance.

Usage

1

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.

Value

A string containing the betting status of the API, which should be one of

Examples

1
2
3
SetCredentials("TESTAPI", "APITEST")
AcceptTermsAndConditions(accepted = TRUE)
GetBettingStatus()

pinnacle.API documentation built on May 2, 2019, 10:24 a.m.