Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 365 Bytes

File metadata and controls

19 lines (13 loc) · 365 Bytes

Quick Start

Basic Usage

from pymlb_statsapi import api

# Get schedule
response = api.Schedule.schedule(sportId=1, date="2025-06-01")
data = response.json()

# Get game data
response = api.Game.liveGameV1(game_pk="747175")
data = response.json()

For more examples, see the :doc:`usage` guide.