-
Notifications
You must be signed in to change notification settings - Fork 42
Home
Team Stats
Player Stats
Game Stats
Inning Stats
Atbat Stats
Team Stats
The Team object is the main interface for getting statistics about an individual team.
Here are some of the things that you can do with an instance of the Team class:
all_games(year)
games_for_date(year, month, day)
get_leadoff_hitters_by_year(year)
get_leadoff_hitters_unique(year)
get_cleanup_hitters_by_year(year)
get_cleanup_hitters_unique(year)
get_start_pitcher_appearances_by_year(year)
get_starters_unique(year)
get_close_pitcher_appearances_by_year(year)
get_closers_unique
quality_starts_count(year)
Player Stats
Game Stats
The Game object is the main interface for getting statistics about an individual game.
Here are some of the things that you can do with an instance of the Game class:
get_rosters
get_boxscore
dump_boxscore
get_linescore
get_starting_pitchers
get_closing_pitchers
get_pitchers(home_or_away)
get_batters(home_or_away)
get_lineups
get_pitching
get_winner
get_score
get_attendance
get_innings
get_atbats
Inning Stats
The Inning object is the main interface for getting statistics about a single inning of a single game.
Here are some of the things that you can do with an instance of the Inning class:
Atbat Stats
The AtBat object is the main interface for getting statistics about a single atbat from a single game.
Here are some of the things that you can do with an instance of the AtBat class: