roclark / sportsipy

A free sports API written for python
MIT License
475 stars 189 forks source link

Game (goals_against) data returning "None" #758

Open david-hosk opened 1 year ago

david-hosk commented 1 year ago

Describe the bug When I try to retrieve goals_against, I receive "None" as a response.

To Reproduce from sportsipy.nhl.teams import Team

nashville = Team('NSH')

print(nashville.goals_for) print(nashville.goals_against)

Expected behavior I expect to receive,

30 37

30 for goals_for, and 37 for goals_against.

I receive, however,

30 None

Screenshots image

Desktop (please complete the following information):

Additional context Along with missing goals_against, I am also missing pdo_at_even_strength and total_goals_per_game.