understatapi.parsers.player module¶
Player parser
-
class
understatapi.parsers.player.
PlayerParser
[source]¶ Bases:
understatapi.parsers.base.BaseParser
Parse a html page from a url of the form
https://understat.com/player/<player_id>
-
get_match_data
(html)[source]¶ Get match level data for a player
- Parameters
html (
str
) – The html string to parse- Return type
Dict
[str
,Any
]
-
get_shot_data
(html)[source]¶ Get shot level data for a player
- Parameters
html (
str
) – The html string to parse- Return type
Dict
[str
,Any
]
-
get_season_data
(html)[source]¶ Get season level data for a player
- Parameters
html (
str
) – The html string to parse- Return type
Dict
[str
,Any
]
-
queries
: List[str]¶
-