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).
Per each live event, the endpoint will return the following information:
Name of the live tournament
Round number of the live tournament
Start time and status of the live tournament
Group and team identification number (also match identifier for match play and Ryder Cup)
Detailed information of the player
Entry type of each player
Endpoint URL
Endpoint for all live tournaments:
https://dde-api.data.imgarena.com/golf/tournaments/liveevents
Required Headers
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
tournamentId
int
The unique id of the tournament
tournamentName
string
The name of the tournament
roundNo
integer
The number of the round
startTime
object
See object below
Group
object
See object below
matchNo
integer
[Optional] will only be available for match play and Ryder Cup formats in which case matchNo = groupNo
Start Time Object
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
featureGroup
boolean
Returns true if the group is a featured group
groupNo
integer
The official group’s number, an identifier for the group within the round and course.
teams
object
See object docs
matchNo
integer
[Optional] will only be available for match play and Ryder Cup formats in which case matchNo = groupNo
Teams and Players Object
There are typically only 2 or 3 teams in a Groups - but below is an example of 4.
orderOfPlayWithinGroup
integer
Order of play of the player. 0 meaning they are first.
players
object
See object below
teamNo
integer
teamNo of the player
Players Object
playerId
integer
The ID of the player
displayName
string
The display name of the player
playerPGATourId
integer
The PGA Tour Id of the player where applicable
playerEuropeanTourId
integer
The European Tour Id of the player where applicable
playerLPGATourId
integer
The LPGA Tour Id of the player where applicable
playerRandAId
integer
Players R&A Id (if relevant)
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
status
string
Players' status, one of the following: Entered, Alternate, Playing, Withdrawn, Retired, Disqualified, MissedCut, Removed, Unknown.
Sample Code
Last updated
Was this helpful?