Golf Widgets
Welcome to Sportradar's customizable Golf widgets.
> Click here for our Golf Widget Showcase. >The Widget Showcase provides an interactive display of all widgets available. Each widget can be viewed in Desktop, Tablet, and Mobile widths, and with or without a border. >Click the three-barred icon to view an individual widget in a new window. Click the carrot icon to view integration code samples, and copy to your clipboard.Please check out our Golf product demonstration below for an overview of every possible configuration.
Reference the left sidebar for a direct link to each individual widget, which includes product descriptions, parameter specifications, and live clickable samples.
## Leaderboard us.event.golf.leaderboard displays a complete leaderboard for a given golf tournament. > For the widget to render you must provide a validstageId
, or a valid uid
and tourStageId
. All other properties are optional.
When providing a uid
and tourStageId
you can additionally provide a valid season
to specify a non-current season.
A stageId
uniquely identifies a certain golf tournament of a certain season (an event), while uid
and tourStageId
only identify a certain golf tournament in a tour, without also identifying a season.
To see a full-sized version of this widget, click here.
Parameters
Property Name | Type | Argument | Description |
stageId |
number | optional | ID of an event |
uid |
number | optional | ID of a golf tournament. Must be specified together with tourStageId . |
tourStageId |
number | optional | ID of a tour. Must be specified together with a uid . Currently supported tours: PGA (tourStageId 306287) and LPGA (tourStageId 409406). |
season |
number | optional | Season, specified as a year. Together with uid it uniquely identifies an event. If the season is omitted, an event from the currently active season is selected. |
columns |
string | optional | Comma-separated names of columns to display in the order specified. Possible columns: pos , score , thru , round1 , round2 , round3 , round4 , roundp (playoff rounds only), strokes , money (post-event only), points (post-event only). |
disableSeasonDropdown |
boolean | optional | Hides the season dropdown when true . |
border |
boolean | optional | When set to true the table is displayed with a border. |
onItemClick |
function | optional | Function/event handler. Emits playerId when a user clicks on a player. |
Examples
HTML/Declarative
JS/Programmatic
JS/Example of using Event Handlers
Return to top
Docs Navigation
- Documentation
- Football (American Football)
- Football (Soccer)
- Australian Rules Football
- Baseball
- Basketball
- NBA v8
- NBA v7
- NBA v5
- NBA v4
- WNBA v8
- WNBA v7
- WNBA v4
- WNBA v3
- NBA G League v8
- NBA G League v7
- NBA G League v5
- NCAA Men's Basketball v8
- NCAA Men's Basketball v7
- NCAA Men's Basketball v4
- NCAA Men's Basketball v3
- NCAA Women's Basketball v8
- NCAA Women's Basketball v7
- NCAA Women's Basketball v3
- Global Basketball v2
- Global Basketball v1
- NBA Historical v1
- Combat Sports
- Cricket
- Editorial Content
- Golf
- Handball
- Hockey
- Images
- Insights
- Insights User Interface
- NBA Insights v1
- NHL Insights v1
- MLB Insights v1
- NFL Insights v1
- MLB Betting Splits v2
- MLB Betting Splits v1
- NBA Betting Splits v2
- NBA Betting Splits v1
- NCAAFB Betting Splits v2
- NCAAFB Betting Splits v1
- NCAAMB Betting Splits v2
- NCAAMB Betting Splits v1
- NFL Betting Splits v2
- NFL Betting Splits v1
- NHL Betting Splits v2
- NHL Betting Splits v1
- Soccer Betting Splits v2
- Soccer Betting Splits v1
- Odds
- Broadcast Graphics
- Racing
- Rugby
- Tennis
- Widgets
- Baseline Sports Coverage
- Badminton v2
- Badminton v1
- Bandy v2
- Bandy v1
- Beach Soccer v2
- Beach Soccer v1
- Curling v2
- Curling v1
- Cycling v2
- Darts v2
- Darts v1
- Field Hockey v2
- Field Hockey v1
- Floorball v2
- Floorball v1
- Futsal v2
- Futsal v1
- Pesapallo v2
- Pesapallo v1
- Snooker v2
- Snooker v1
- Squash v2
- Squash v1
- Table Tennis v2
- Volleyball (Beach) v2
- Volleyball (Beach) v1
- Volleyball (Indoor) v2
- Volleyball (Indoor) v1
- Waterpolo v2
- Waterpolo v1
- Winter Sports v1