golf-data

Global Sports Open source · MIT Read-only 6 commands 718 installs

PGA Tour, LPGA, and DP World Tour golf data via ESPN public endpoints — tournament leaderboards, scorecards, season schedules, golfer profiles/overviews, and news. Zero config, no API keys.

View source

Commands 6

get_leaderboard
--tour[--event_id][--date]

Tournament leaderboard with all golfer scores (current, or event_id / date)

get_schedule
--tour[--year]

Full season tournament schedule

get_player_info
--player_id[--tour]

Individual golfer profile

get_player_overview
--player_id[--tour]

Detailed overview with season stats, rankings, recent results

get_scorecard
--tour--player_id[--event_id][--date]

Hole-by-hole scorecard for a golfer (current, or event_id / date)

get_news
--tour

Golf news articles

Example Prompts

  • What's the PGA leaderboard right now?
  • Show me the LPGA schedule for 2026
  • Tell me about Scottie Scheffler
  • When is the Masters this year?
  • Show me Scottie Scheffler's scorecard

Quick Start

# CLI
sports-skills golf get_leaderboard --tour=<tour>
# Python
from sports_skills import golf
golf.get_leaderboard(tour="...")