Hole Statistics

This endpoint is a live websocket endpoint that returns the statistics for all holes, on a per round basis for a given tournament. Currently the whole hole stats event is sent whenever a new RoundDetails packet is received from either FlightScope of PGA.

The authentication token provided will be required to make a connection to this websocket endpoint.

Once you have the API token, any further data that you send over the connection will be ignored.

N.B – This endpoint sends heartbeats in-between data packets to let you know that it is still connected.

This endpoint currently takes no request parameters

This can be found at wss://dde-streams.imggaming.com/media/golf/tournaments/[ID]/holestats

The full list of statistics and their definitions are as follows:

Statistic

Definition

Data type

averagePutts

Average amount of putts players take to hole out

integer

pars

Total pars on a hole

integer

birdies

Total birdies on a hole

integer

bogeys

Total bogeys on a hole

integer

boubleBogeysOrWorse

Total double bogeys or worse on a hole

integer

eaglesOrBetter

Total eagles or better on a hole

integer

fairwaysHit

Total number of times players hit the fairway on a hole from the tee shot

integer

greensHit

Total number of times players hit the green on a hole from the tee shot

integer

threePutts

Total three putts (or worse) on a hole

integer

holesPlayed

Total number of times the hole has been played by all players

integer

These statistics are outputted per hole, per round.

Sample output:

{
    "seqNum": 4608,
    "timestamp": "2020-04-10T21:02:09.388Z",
    "tournamentId": 296,
    "holeStats": [
        {
            "holeNumber": 1,
            "rounds": [
                {
                    "averagePutts": 1.6265060240963856,
                    "birdies": 12,
                    "bogeys": 13,
                    "doubleBogeysOrWorse": 3,
                    "eaglesOrBetter": 0,
                    "fairwaysHit": 54,
                    "greensHit": 55,
                    "holesPlayed": 83,
                    "pars": 55,
                    "roundNumber": 2,
                    "scoringAverage": 4.096385542168675,
                    "threePutts": 2
                },
                {
                    "averagePutts": 1.5657894736842102,
                    "birdies": 16,
                    "bogeys": 10,
                    "doubleBogeysOrWorse": 0,
                    "eaglesOrBetter": 0,
                    "fairwaysHit": 44,
                    "greensHit": 52,
                    "holesPlayed": 76,
                    "pars": 50,
                    "roundNumber": 3,
                    "scoringAverage": 3.9210526315789473,
                    "threePutts": 2
                },
                {
                    "averagePutts": 1.794871794871795,
                    "birdies": 9,
                    "bogeys": 12,
                    "doubleBogeysOrWorse": 1,
                    "eaglesOrBetter": 1,
                    "fairwaysHit": 45,
                    "greensHit": 58,
                    "holesPlayed": 78,
                    "pars": 55,
                    "roundNumber": 4,
                    "scoringAverage": 4.038461538461537,
                    "threePutts": 2
                }
            ],
            "total": {
                "averagePutts": 1.6624472573839661,
                "birdies": 37,
                "bogeys": 35,
                "doubleBogeysOrWorse": 4,
                "eaglesOrBetter": 1,
                "fairwaysHit": 143,
                "greensHit": 165,
                "holesPlayed": 237,
                "pars": 160,
                "scoringAverage": 4.021097046413503,
                "threePutts": 6
            }
        },
        {
            "holeNumber": 2,
            "rounds": [
                {
                    "averagePutts": 1.5494505494505495,
                    "birdies": 32,
                    "bogeys": 5,
                    "doubleBogeysOrWorse": 2,
                    "eaglesOrBetter": 6,
                    "fairwaysHit": 56,
                    "greensHit": 75,
                    "holesPlayed": 91,
                    "pars": 46,
                    "roundNumber": 2,
                    "scoringAverage": 4.615384615384616,
                    "threePutts": 2
                },
                {
                    "averagePutts": 1.441558441558442,
                    "birdies": 41,
                    "bogeys": 3,
                    "doubleBogeysOrWorse": 0,
                    "eaglesOrBetter": 5,
                    "fairwaysHit": 52,
                    "greensHit": 69,
                    "holesPlayed": 77,
                    "pars": 28,
                    "roundNumber": 3,
                    "scoringAverage": 4.3766233766233755,
                    "threePutts": 1
                },
                {
                    "averagePutts": 1.3766233766233766,
                    "birdies": 41,
                    "bogeys": 2,
                    "doubleBogeysOrWorse": 0,
                    "eaglesOrBetter": 1,
                    "fairwaysHit": 45,
                    "greensHit": 57,
                    "holesPlayed": 77,
                    "pars": 33,
                    "roundNumber": 4,
                    "scoringAverage": 4.467532467532466,
                    "threePutts": 1
                }
            ],
            "total": {
                "averagePutts": 1.4612244897959188,
                "birdies": 114,
                "bogeys": 10,
                "doubleBogeysOrWorse": 2,
                "eaglesOrBetter": 12,
                "fairwaysHit": 153,
                "greensHit": 201,
                "holesPlayed": 245,
                "pars": 107,
                "scoringAverage": 4.49387755102041,
                "threePutts": 4
            }
        }
    ]

Last updated