Live Events

This endpoint is to be used in conjunction with the Team Round Details web socket endpoint. You should use the response from this end point to decide which live streams you should connect to. As soon as you see a live stream available on this endpoint you should commence connecting to the web socket for that individual live stream event (I.e a Team playing a Round of Golf).

Endpoint URL

https://dde-api.imggaming.com/golf/tournaments/liveevents

NB: nothing is returned when no events are live

Required Headers

Key

Value

Accept

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

Content-Type

application/json

Authorization

Bearer eyvhaoudfgpdfgo*

*Authorization header includes a truncated Bearer token, contact IMG for your auth token if you do not have.

Request Parameters

This endpoint takes no request parameters.

Response Model

Live Events Object

Field Name

Type

Description

tournamentId

int

The unique id of the tournament

tournamentName

string

The name of the tournament

roundNo

int

The number of the round

Start Time Object

Field Name

Type

Description

status

string

The status of the start time – e.g. ‘StartsAt’

time

date

The time the group are scheduled to start their round

Group Object

Field Name

Type

Description

groupNo

int

The group’s number, an identifier for the group

Teams Object

Field Name

Type

Description

id

int

The ID of the team

Players Object

Field Name

Type

Description

id

int

The ID of the player

displayName

string

The display name of the player

firstName

string

The first name of the player

lastName

string

The last name of the player

country

string

The country code of the player’s country

isAmateur

boolean

Is the player an amateur or not

entryType

string

The player’s entry type into the tournament

Sample Response

[{
	"tournamentId": 5,
	"startTime": {
		"status": "StartsAt",
		"time": "20:30+02:00"
	},
	"roundNo": 1,
	"tournamentName": "Test Invitational Open",
	"group": {
		"groupNo": 1,
		"teams": [{
			"teamId": 11,
			"players": [{
				"displayName": "Ashun WU",
				"country": "CHN",
				"isAmateur": false,
				"lastName": "WU",
				"firstName": "Ashun",
				"entryType": "Invited",
				"playerId": 268
			}]
		}, {
			"teamId": 34,
			"players": [{
				"displayName": "Thongchai JAIDEE",
				"country": "THA",
				"isAmateur": false,
				"lastName": "JAIDEE",
				"firstName": "Thongchai",
				"entryType": "Invited",
				"playerId": 269
			}]
		}]
	}
}, {
	"tournamentId": 5,
	"startTime": {
		"status": "StartsAt",
		"time": "20:30+02:00"
	},
	"roundNo": 1,
	"tournamentName": "Test Invitational Open",
	"group": {
		"groupNo": 2,
		"teams": [{
			"teamId": 32,
			"players": [{
				"displayName": "George COETZEE",
				"country": "RSA",
				"isAmateur": false,
				"lastName": "COETZEE",
				"firstName": "George",
				"entryType": "Invited",
				"playerId": 270
			}]
		}, {
			"teamId": 41,
			"players": [{
				"displayName": "Jason NORRIS",
				"country": "AUS",
				"isAmateur": false,
				"lastName": "NORRIS",
				"firstName": "Jason",
				"entryType": "Invited",
				"playerId": 271
			}]
		}]
	}
}, {
	"tournamentId": 5,
	"startTime": {
		"status": "StartsAt",
		"time": "20:30+02:00"
	},
	"roundNo": 1,
	"tournamentName": "Test Invitational Open",
	"group": {
		"groupNo": 3,
		"teams": [{
			"teamId": 15,
			"players": [{
				"displayName": "Hideto TANIHARA",
				"country": "JPN",
				"isAmateur": false,
				"lastName": "TANIHARA",
				"firstName": "Hideto",
				"entryType": "Alternate",
				"playerId": 272
			}]
		}, {
			"teamId": 62,
			"players": [{
				"displayName": "Richard Sterne",
				"country": "RSA",
				"isAmateur": false,
				"lastName": "STERNE",
				"firstName": "Richard",
				"entryType": "Invited",
				"playerId": 273
			}]
		}]
	}
}]

Last updated