understatapi.parsers.match module¶
Match parser
-
class
understatapi.parsers.match.MatchParser[source]¶ Bases:
understatapi.parsers.base.BaseParserParse a html page from a url of the form
https://understat.com/match/<match_id>-
get_shot_data(html)[source]¶ Get shot level data for a match
- Parameters
html (
str) – The html string to parse- Return type
Dict[str,Any]
-
get_roster_data(html)[source]¶ Get data about the roster for each team
- Parameters
html (
str) – The html string to parse- Return type
Dict[str,Any]
-
get_match_info(html)[source]¶ Get information about the match
- Parameters
html (
str) – The html string to parse- Return type
Dict[str,Any]
-
queries: List[str]¶
-