adt module¶
-
class
adt.
MatchList
¶ Bases:
list
-
get_away_matches
(team_name)¶ Return all team away matches :param team_name: name of the team :return: MatchList object containing all away matches of given team
-
get_goals
(team_name)¶ Return scored and conceded goals :param team_name: name of the team :return: tuple with 2 values (goals scored, goals missed)
-
get_home_matches
(team_name)¶ Return all team home matches :param team_name: name of the team :return: MatchList object containing all home matches of given team
-
get_matchday
(num)¶ Return all matches of given matchday :param num: matchday number :return: MatchList object containing all matches of given matchday
-
get_stats
(team_name)¶ Return wins, draws and loses statistics :param team_name: name of the team :return: tuple containing 4 values(games played, wins, draws, loses)
-
get_team_matches
(team_name)¶ Return all team matches :param team_name: name of the team :return: MatchList object containing all matches of given team
-