-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing MIA @ TB 2017 game (2017091006) #74
Comments
What are you trying to do? If you have the eid of a game you can simply call You are getting this because nflgame.games() actually returns a python generator of Game objects, as per the docs. The documentation is QUITE thurough and worthy of a good look. |
Also it is ambiguous what you are actually passing in this query, what are the values of each of those variables you are passing to nflgame.games? |
sorry i was unclear. let me try to explain what i am trying to do. |
That game was cancelled because of hurricane Irma and rescheduled as 2017111911 in week 11. |
oh right. That makes more sense. I think its best for any game that is cancelled or will never have game-center json be removed from the schedule dictionary. |
Closing b/c i've filed #76 which will resolve this. |
when i do:
i get
{**u'week': 1**, u'meridiem': u'PM', u'gamekey': u'57241', u'season_type': u'REG', u'away': u'**TB**', u'year': 2017, u'month': 9, u'eid': u'**2017091006**', u'time': u'1:00', u'home': u'**MIA**', u'wday': u'Sun', u'day': 10}
now, if i do:
games_as_home = nflgame.games(game['year'], home = game['home'], kind='REG', started=True)
I would expect to see the game to show as the first entry, but instead i see:
games_as_home[0] - Game: NO (20) at MIA (0)
Any idea what is going on? Why i see NO as away team instead of TB?
The text was updated successfully, but these errors were encountered: