Skip to content
timothyf edited this page Sep 13, 2010 · 12 revisions

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)

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

Player Stats

Clone this wiki locally