Nflgame

Latest version: v1.2.20

Safety actively analyzes 625566 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 9

1.1.9

=====
- Manually fixed the ATL/SF 2012 playoff game so that it
reports itself as being "over".
- Make the license field in setup.py accurate.
- Added "gamekey" or "gsis" identifiers to nflgame's
schedule data. These ids are used in other services,
like Neulion's content delivery network.
- Added a method to the Game class that returns the season
year that the game was played. In particular, games
played in January or February of 2013 will still return
2012.
- Added a new "schedule" field to the Game class which contains
the meta data in nflgame/schedule.py.

1.1.8

=====
Data updates:

- Schedule (end of 2012 postseason)
- README inconsistency.
- Make the CSV function output consistent column headings/ordering.

1.1.7

=====
Data updates:

- Player database (end of 2012 regular season)
- Game data (full 2012 regular season)
- Game schedule up to first week of 2012 postseason

1.1.6

=====
Data update. And made parsing game times a bit more robust with respect to
errant or malformed data.

1.1.5

=====
Added player team and position information to CSV output. Team information
should always be available, but position information is dependent on whether
or not the player meta data exists for that particular player. (Chances are
good.)

1.1.4

=====
Bug fixes and added game diffs to the nflgame.live callback API.

- Fixed a bug where Game.max_player_stats didn't include statistics from
players that only had stats recorded in play-by-play data.

- When player stats are combined over a game or multiple games, keep the 'home'
attribute if the two objects agree on its value.

- Added Week 2 data from the 2012 season.

- The callback function used in the nflgame.live module now requires a third
parameter: a list of diffs between the games reported in the last interval
and the games reported in the current interval. It is hopefully useful in
inspecting statistics and plays that have been added or changed since the
last inspection of the game data. (The diffs list is orthogonal to the first
two parameters: active and completed.)

- Fixed bug 14. Games that hadn't started yet weren't filtered out of the
return list of nflgame.games and related functions.

- Fixed a bug where if JSON data from NFL.com is totally unparseable, then we
return None when constructing a Game object rather than crash the program.

- Added a team attribute to PlayerStats objects.

- When filtering by a particular field, if that fields value is None, then
always return False.

Page 8 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.