Skip to content

Data Types: Team

KCNilssen edited this page Dec 13, 2022 · 4 revisions

Usage that returns Team objects

To be added

Team Structure

Attributes are expandable and collapsable - Link to Team dataclass

To be added

Example output from MLB stats api endpoint

Mlb stats api Query:

https://statsapi.mlb.com/api/v1/teams?sportId=1

Equivelant with python-mlb-statsapi:

import mlbstatsapi

mlb = mlbstatsapi.Mlb()

mlb.get_teams(sport_id = 1)
Clone this wiki locally