Closed stermi01 closed 6 years ago
had to add the following to the statement
games = nflgame.games(2017, kind = 'REG')
Not sure why that would do anything different for you...'REG'
is the default value for kind
.
https://github.com/BurntSushi/nflgame/blob/master/nflgame/__init__.py#L192
I'm not sure, It was something that ended up happening last year where I had trouble getting individual postseason games and since then I've had some problems, but that seemed to be the solution that worked.
After managing to set my schedule up for 2017 games, I'm still having trouble reading 2017 regular season games. Getting the following error, just trying to get basic info that you had from issue #331 :
I updated nflgame and made sure to update the schedule as well as switch it back. Any idea?
Code:
import nflgame import csv
games = nflgame.games(2017) print len(games)
Error:
TypeError Traceback (most recent call last)