understatapi.parsers.league module¶
League parser
- class understatapi.parsers.league.LeagueParser[source]¶
Bases:
BaseParserParse a html page from a url of the form
https://understat.com/league/<league>/<season>- get_team_data(html)[source]¶
Get data for all teams
- Parameters
html (
str) – The html string to parse- Return type
Dict[str,Any]