Skip to content
Docs menu

Back to all methods

getGolfShotData

read

GETs `/gcs-golfcommunity/api/v2/shot/scorecard/{scorecardId}/hole`; `holeNumbers` accepts commas or hyphens as separators (spaces stripped), re-joined with `-` before sending as the hyphenated `hole-numbers` param; **if any requested hole number is >9, the filter is silently dropped and all 18 holes are requested instead** (Garmin's endpoint drops double-digit hole numbers from a filtered query); omitting `holeNumbers` also fetches all 18

getGolfShotData(scorecardId, holeNumbers?)
ParameterTypeOptionalDescription
scorecardIdnumber | stringnoNumeric id
holeNumbersstringyes

In Claude this is the get_golf_shot_data tool.

Guide: golf