Team¶
Team endpoints! So much data!
There are 5 class methods available, and one class attribute which will return all teams.
Team Info¶
Get info of a given team id.
Usage
from easy_nhl import Team sabres = Team(7) sabres_info = sabres.team_info()
Roster¶
Get the current roster of a given team id.
Usage
from easy_nhl import Team sabres = Team(7) sabres_info = sabres.roster()
Next Game¶
Get a given team’s next scheduled game.
Usage
from easy_nhl import Team sabres = Team(7) sabres_info = sabres.next_game()
Previous Game¶
Get a given team’s previous scheduled game.
Usage
from easy_nhl import Team sabres = Team(7) sabres_info = sabres.previous_game()
Season Stats¶
Get a given teams current season stats.
Usage
from easy_nhl import Team sabres = Team(7) sabres_info = sabres.season_stats()