Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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()

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

  • ALL_BETTING_ENABLED

  • ALL_LIVE_BETTING_CLOSED

  • ALL_BETTING_CLOSED

Examples

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

pinnacle.API

A Wrapper for the Pinnacle API

v2.3.3
GPL-3
Authors
Nicholas Jhirad, Marco Blume, Aaron Jacobs, Amine Gassem
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.