kickerde_api_client.mapping.league_list
Mapping and transformation logic for leagues and tournaments.
Functions
Transforms an API response to a dictionary of |
Module Contents
- kickerde_api_client.mapping.league_list.league_list_home_to_dict(xml)
Transforms an API response to a dictionary of
Leagueobjects, indexed by league ID.- Parameters:
xml (str) – a response to a LeagueListHome/3 query.
- Return type:
dict[kickerde_api_client.model.LeagueId, kickerde_api_client.model.League]