Player Functions

Table of Contents

Usage

aggregator = KabaddiDataAggregator()
player_stats = aggregator.get_stats_from_player_profile(profile_name)

Parameters

  • profile_name (str): The player's name.

Returns

  • Dict[str, str]: A dictionary containing:
  • Two key-value pairs for player statistics (keys and values depend on the available data)
  • teamName: The name of the player's team

get_player_details

player_performance

Retrieves player performance data from all seasons or particular seasons.

Usage

aggregator = KabaddiDataAggregator()
player_performance_data = aggregator.player_performance()

Returns

  • List: A list containing player performance data extracted from the Tableau dashboard. The structure depends on the data available in the dashboard.

player_performance

Retrieves player performance data.

Usage

aggregator = KabaddiDataAggregator()
player_performance_data = aggregator.player_performance()

Returns

  • List: A list containing player performance data extracted from the Tableau dashboard. The structure depends on the data available in the dashboard.

Note: The functions that interact with constantly updating dashboards (team_line_up, team_level_stats, and player_performance) may return complex data structures. The exact format of the returned data depends on the structure and content of the Tableau dashboards at the time of extraction.