Skip to content

Commit

Permalink
add nba and nhl game IDs for 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdodge committed Sep 12, 2023
1 parent 9836768 commit d3ccc05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yahoofantasy/api/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
games["nba"]["2020"] = 402
games["nba"]["2021"] = 410
games["nba"]["2022"] = 418
games["nba"]["2023"] = 428

games["nhl"]["2001"] = 15
games["nhl"]["2002"] = 64
Expand All @@ -96,6 +97,7 @@
games["nhl"]["2020"] = 403
games["nhl"]["2021"] = 411
games["nhl"]["2022"] = 419
games["nhl"]["2023"] = 427

def get_game_id(game, season):
season = str(season)
Expand Down

0 comments on commit d3ccc05

Please sign in to comment.