End of Round Strokes

A feed which includes all of the key meta data per shot within a Team's round, compiled and stored, once a Round becomes Official.

This Endpoint returns information of the current player's stroke events per Round.

Please note: Detailed lies that have been undone are not included in this feed.

Endpoint URLs

URL:

https://dde.api.imggaming.com/golf/official-shots/tournaments/{tournament id}}/round/{Round number}/team/{team number}

URL Sample:

https://dde-api.imggaming.com/golf/official-shots/tournaments/224/round/1/team/22

Required Headers

Key

Value

Accept

application/vnd.imggaming.dde.api+json;version=1

Content-Type

application/json

Authorization

Bearer eyvhaoudfgpdfgo*

Request Parameters

This endpoint currently takes no parameters.

Response Model

Player Summary Object

Field Name

Type

Description

timestamp

string

The Timestamp of the stroke event in the current Tournament

courseId

string

The ID of the Golf Course the stroke played on place on

ballLie

object

Object containing details on Ball Lie

score

object

Object containing details of the current score at the start of first stroke

provisionalIndex

int

The nth number of stroke classed as a provisional shot

groupNo

int

The Group Number the current player is in, for the current Round of the Tournament

dropType

string

The type of Drop Ball issued on the current stroke

eventElementType

string

The type of event on current stroke.

At current time of timing these are: "BallHoled", "DetailedLie", "Penalty", "BallDrop" and "ProvisionalBallSelected".

seqNum

int

The sequence number of the current event - for an order of events by timestamp.

holeOrder

int

The player's current stroke being played on the nth Hole of the current round.

Please note: This is not the Hole Number.

E.g. holeOrder 2 is the player's 2nd Hole of the current Round which can be on Hole Number 11.

teamNo

int

The player's Team Number for the current Tournament.

strokeNo

int

The nth stroke of the current stroke event.

playerId

int

The ID of the Player of the current stroke event.

penaltyType

string

The type of penalty issued on the current stroke event.

E.g. "Strokes"

holeNo

int

The current Hole Number the stroke event took place on. Holes 1 - 18

Ball Lie Object

Field Name

Type

Description

surfaceTypeCode

string

A three character code for current surface type the ball is on

distanceToPin

double

Distance left till current hole's pin. Measured in metres

shotDistance

double

Distance of the current stroke travelled. Measured in metres

blindShot

boolean

The current stroke landing area is not visible from the player’s perspective

surfaceType

string

The full name of the current surface type the ball is on

obstructions

boolean

An obstruction that is present on the current stroke play

Below is a table describing each of the available Surface Types:

surfaceTypeCode

surfaceType

OFW

Fairway

OGR

Green

OIR

IntermediateRough

ORO

Rough or PrimaryRough

OST

FairwayBunker

OGS

Greenside Bunker

OCO

Fringe

ONA

NativeArea

OTO

Trees or TreeOutline

OBU

Bushes

ODS

Desert

OWA

Water

OTH

Other

OCA

CartPath

ODO

Dirt or DirtOutline

OTF

OtherFairway

OOB

OutOfBounds

OUK

Unknown

Score Object

Score Object is available on stroke events with "eventElementType" : "BallHoled" OR "Penalty"

Field Name

Type

Description

currentHolePar

int

The Par of the current Hole of the Course

overallScoreToPar

int

The current overall score of the player

currentHoleStrokes

int

The total number of strokes taken by the player on the current hole

currentRoundScoreToPar

int

The current score of the player of the current Round

Sample Response

[
    {
        "timestamp": "2020-02-18T07:32:42.957Z",
        "courseId": "278",
        "ballLie": {
            "surfaceTypeCode": "OFW",
            "distanceToPin": 225.999261423593,
            "shotDistance": 262.395317050459,
            "blindShot": false,
            "surfaceType": "Fairway",
            "obstructions": false
        },
        "score": {
            "currentHolePar": 4,
            "overallScoreToPar": "-1",
            "currentHoleStrokes": 4,
            "currentRoundScoreToPar": "-1"
        },
        "provisionalIndex": 0,
        "groupNo": 17,
        "dropType": "FreeDrop",
        "eventElementType": "DetailedLie",
        "seqNum": 6,
        "holeOrder": 1,
        "teamNo": 2,
        "strokeNo": 1,
        "playerId": 387,
        "penaltyType": "Strokes",
        "holeNo": 10
    },

Last updated