understatapi.parsers.team module¶
Team parser
-
class
understatapi.parsers.team.TeamParser[source]¶ Bases:
understatapi.parsers.base.BaseParserParse a html page from a url of the form
https://understat.com/team/<team>/<season>-
get_player_data(html)[source]¶ Get data on a per-team basis
- Parameters
html (
str) – The html string to parse- Return type
Dict[str,Any]
-
get_match_data(html)[source]¶ Get data on a per match level for a given team in a given season
- Parameters
html (
str) – The html string to parse- Return type
Dict[str,Any]
-
get_context_data(html)[source]¶ Get data based on different contexts in the game
- Parameters
html (
str) – The html string to parse- Return type
Dict[str,Any]
-
queries: List[str]¶
-