Closed gjj07 closed 1 year ago
For team stats, use statsapi.get() with the stats endpoint. The available statType
s are available with statsapi.meta("statTypes")
-- you may be interested in season
. There are examples on reddit and probably in the closed issues in this repo.
For player stats, you can use statsapi.player_stat_data().
is there a function to get pitcher stats and team stats by year? Thank you