Skip to content

Metrics

Definition

Metric Enum used to determine what strokes are returned in a Replay Request

Structure

javascript
  None: 0,

  // Scores

  Condor: 1,
  Albatross: 2,
  Eagle: 3,
  Birdie: 4,
  Par: 5,
  Bogey: 6,
  DoubleBogey: 7,
  TripleBogey: 8,
  QuadrupleBogey: 9,

  // Stroke Specific

  Putt: 21,
  Drive: 22,
  Ace: 23,
  // The stroke that goes into the hole
  Final: 24,
  Bunker: 25,
  Green: 26,
  Fairway: 27,

NOTE: Score Metrics

These will check the Scores on a Hole. If only Scores are specified, all strokes on that hole will be returned as clips

NOTE: Stroke Specific Metrics

These will check the individual strokes on a hole. If specified, only the corresponding strokes will be returned as clips