SkillcornerClient

Contents

SkillcornerClient#

class skillcorner.client.SkillcornerClient(username: str | None = None, password: str | None = None)#

Bases: object

classmethod cli_app() Typer#

Set up a CLI interface using Typer. Instantiates the fitrequest client, registers all its methods as commands, and returns the typer the application.

classmethod cli_run() None#

Runs the typer application.

property fit_config: dict#

Configuration used by fitrequest to generate the methods.

get_competition_competition_editions(competition_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/competitions/{competition_id}/editions GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/competitions/competitions_editions_list.

get_competition_editions(raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/competition_editions GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/competition_editions_list.

get_competition_rounds(competition_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/competitions/{competition_id}/rounds GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/competitions/competitions_rounds_list.

get_competitions(raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/competitions GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/competitions/competitions_list.

get_dynamic_events(match_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/match/{match_id}/dynamic_events GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_list.

get_dynamic_events_off_ball_runs(match_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/match/{match_id}/dynamic_events/off_ball_runs GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_off_ball_runs_list.

get_dynamic_events_on_ball_engagements(match_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/match/{match_id}/dynamic_events/on_ball_engagements/ GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_on_ball_engagement_list.

get_dynamic_events_passing_options(match_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/match/{match_id}/dynamic_events/passing_options GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_passing_options_list.

get_dynamic_events_phases_of_play(match_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/match/{match_id}/dynamic_events/phases_of_play/ GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_phases_of_play_list.

get_dynamic_events_player_possessions(match_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/match/{match_id}/dynamic_events/player_possessions GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_player_possessions_list.

get_in_possession_off_ball_runs(raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/in_possession/off_ball_runs GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/in_possession/in_possession_off_ball_runs_list.

get_in_possession_on_ball_pressures(raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/in_possession/on_ball_pressures GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/in_possession/in_possession_on_ball_pressures_list.

get_in_possession_passes(raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/in_possession/passes GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/in_possession/in_possession_passes_list.

get_match(match_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/match/{match_id} GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_read.

get_match_data_collection(match_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/match/{match_id}/data_collection GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_data_collection_read.

get_match_instructions(match_id: str, raise_for_status: bool = True, **kwargs) Any#

Match instructions

get_match_tracking_data(match_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/match/{match_id}/tracking GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_tracking_list.

get_matches(raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/matches GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/matches/matches_list.

get_physical(raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/physical GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/physical/physical_list.

get_player(player_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/players/{player_id} GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/players/players_read.

get_players(raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/players GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/players/players_list.

get_seasons(raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/seasons GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/seasons/seasons_list.

get_team(team_id: str, raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/teams/{team_id} GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/teams/teams_read.

get_teams(raise_for_status: bool = True, **kwargs) Any#

Retrieve response from /api/teams GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/teams/teams_list.

save_competition_competition_editions(competition_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/competitions/{competition_id}/editions GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/competitions/competitions_editions_list.

save_competition_editions(filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/competition_editions GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/competition_editions_list.

save_competition_rounds(competition_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/competitions/{competition_id}/rounds GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/competitions/competitions_rounds_list.

save_competitions(filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/competitions GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/competitions/competitions_list.

save_dynamic_events(match_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/match/{match_id}/dynamic_events GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_list.

save_dynamic_events_off_ball_runs(match_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/match/{match_id}/dynamic_events/off_ball_runs GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_off_ball_runs_list.

save_dynamic_events_on_ball_engagements(match_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/match/{match_id}/dynamic_events/on_ball_engagements/ GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_on_ball_engagement_list.

save_dynamic_events_passing_options(match_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/match/{match_id}/dynamic_events/passing_options GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_passing_options_list.

save_dynamic_events_phases_of_play(match_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/match/{match_id}/dynamic_events/phases_of_play/ GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_phases_of_play_list.

save_dynamic_events_player_possessions(match_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/match/{match_id}/dynamic_events/player_possessions GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_dynamic_events_player_possessions_list.

save_in_possession_off_ball_runs(filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/in_possession/off_ball_runs GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/in_possession/in_possession_off_ball_runs_list.

save_in_possession_on_ball_pressures(filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/in_possession/on_ball_pressures GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/in_possession/in_possession_on_ball_pressures_list.

save_in_possession_passes(filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/in_possession/passes GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/in_possession/in_possession_passes_list.

save_match(match_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/match/{match_id} GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_read.

save_match_data_collection(match_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/match/{match_id}/data_collection GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_data_collection_read.

save_match_instructions(match_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Match instructions

save_match_tracking_data(match_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/match/{match_id}/tracking GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/match/match_tracking_list.

save_matches(filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/matches GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/matches/matches_list.

save_physical(filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/physical GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/physical/physical_list.

save_player(player_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/players/{player_id} GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/players/players_read.

save_players(filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/players GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/players/players_list.

save_seasons(filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/seasons GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/seasons/seasons_list.

save_team(team_id: str, filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/teams/{team_id} GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/teams/teams_read.

save_teams(filepath: str, raise_for_status: bool = True, **kwargs) None#

Retrieve response from /api/teams GET request. To learn more about it go to: https://skillcorner.com/api/docs/#/teams/teams_list.