Get event by ID
Get a singular event by passing in an ID
Name | Format | Example | Required |
api_key | string | a8b5748243bd4360 | Yes |
const getEvent = await fetch("https://use.livegolfapi.com/v1/events/a8b57482-43bd-4360-80de-8080d08d69f9")
const event = await getEvents.json()
// Example response
{
id: "a8b57482-43bd-4360-80de-8080d08d69f9",
startDatetime: "2024-06-06T00:00:00.000Z",
endDatetime: "2024-06-09T00:00:00.000Z",
name: "Memorial Tournament",
slug: "the-memorial-tournament-presented-by-workday-2024",
logoUrl: "https://res.cloudinary.com/pgatour-prod/d_tournaments:logos:r000.png/tournaments/logos/r023.png",
course: "Muirfield Village Golf Club",
location: "Dublin, OH • USA",
status: "Completed"
}