Sport
Basketball
get_nba_standings()
get_team_game_today(team_name)
F1
get_results_by_round(year, round_num)
get_results_last_round()
Football
convert_league_name(name)
get_current_team_match(league, team_name)
get_league_standings(league)
get_matchday_matches(league, matchday)
get_matches_today(league='')
get_ongoing_matches(league='')
get_teams(league)
get_upcoming_team_matches(league, team_name, num_matches=3)
Get the upcoming matches of the specified team
Parameters:
Name | Type | Description | Default |
---|---|---|---|
league |
str
|
Name of the league |
required |
team_name |
str
|
Name of the team from which the matches are requested |
required |
num_matches |
int, optional
|
Number of matches which will be returned. By default |
3
|
Returns:
Type | Description |
---|---|
list[str] | None
|
Return list of the upcoming matches of the specified team |
Handball
get_league_id(league_name)
get_league_table(league_name='Bundesliga')
get_league_teams(league_name)
get_team_game_today(team_name, league_name='Bundesliga')
Get the game of a team today
Parameters:
Name | Type | Description | Default |
---|---|---|---|
team_name |
str
|
Name of the team for which the game is to be returned |
required |
league_name |
str, optional
|
Name of the league in which the game is to be played. By default |
'Bundesliga'
|
Returns:
Type | Description |
---|---|
list[str] | None
|
Return a list of a string with the game |