SoccerExtended
SoccerExtended
dataclass
Bases: SportradarAPI
Wrapper to interact with Sportradar SoccerExtended API
Source code in sportradar_api/soccer_extended/soccer_extended.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
|
get_competitions()
Get all available Soccer competitions.
Returns:
Type | Description |
---|---|
dict | API response |
Source code in sportradar_api/soccer_extended/soccer_extended.py
12 13 14 15 16 17 18 |
|
get_player_profile(player_urn)
Get the player profile for the given urn. Provides player information, including current and historical team membership info.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
player_urn | str | URN of a given player | required |
Returns:
Type | Description |
---|---|
dict | API response |
Source code in sportradar_api/soccer_extended/soccer_extended.py
63 64 65 66 67 68 69 70 71 72 73 74 |
|
get_season_competitor_players(season_urn)
Get the competitors and their players in a season. Provides player roster information for every team from a given season.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
season_urn | str | URN of a given season | required |
Returns:
Type | Description |
---|---|
dict | API response |
Source code in sportradar_api/soccer_extended/soccer_extended.py
51 52 53 54 55 56 57 58 59 60 61 |
|
get_season_competitors(season_urn)
Get all teams participating for a given season.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
season_urn | str | URN of a given season | required |
Returns:
Type | Description |
---|---|
dict | API response |
Source code in sportradar_api/soccer_extended/soccer_extended.py
40 41 42 43 44 45 46 47 48 49 |
|
get_season_summaries(season_urn)
Get the summaries for all sport events in a season (any status). Provides information for all matches from a given season including scoring and statistics at the match level.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
season_urn | str | | required |
Returns:
Type | Description |
---|---|
dict | API response |
Source code in sportradar_api/soccer_extended/soccer_extended.py
28 29 30 31 32 33 34 35 36 37 38 |
|
get_seasons()
Get historical season information for all competitions.
Returns:
Type | Description |
---|---|
dict | API response |
Source code in sportradar_api/soccer_extended/soccer_extended.py
20 21 22 23 24 25 26 |
|
get_sport_event_summary(sport_event_urn)
Get the summary of a given sport event urn, including results.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
sport_event_urn | str | URN of a given sport event | required |
Returns:
Type | Description |
---|---|
dict | API response |
Source code in sportradar_api/soccer_extended/soccer_extended.py
76 77 78 79 80 81 82 83 84 85 |
|