Game represents a single pre- or regular-season game. It provides a
window into the statistics of every player that played into the game,
along with the winner of the game, the score and a list of all the
scoring plays.
|
|
__init__(self,
eid=None,
fpath=None)
Creates a new Game instance given a game identifier. |
source code
|
|
|
|
is_home(self,
team)
Returns true if team (i.e., 'NE') is the home team. |
source code
|
|
|
|
game_over(self)
game_over returns true if the game is no longer being played. |
source code
|
|
|
|
playing(self)
playing returns true if the game is currently being played. |
source code
|
|
|
|
|
|
|
|
|
|
max_player_stats(self)
Returns a GenPlayers sequence of player statistics that combines game
statistics and play statistics by taking the max value of each
corresponding statistic. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__subclasshook__
|