Team

Team endpoints! So much data!

There are 5 class methods available, and one class attribute which will return all teams.

self.teams

List out all teams available.

Usage

from easy_nhl import Team

all_teams = Team().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()