Skip to main content

A Python module for aggregating Kabaddi data

Project description

kabaddi_api_logo

ProKabaddi API - Data collection and analysis tools for professional Kabaddi leagues

FeaturesInstallationUsageContributingLicenseDocumentation


Kabaddi Data Aggregator is a Python module that provides tools for collecting and analyzing data from professional Kabaddi leagues. It uses web scraping techniques to gather information about teams, players, and match statistics from various online sources.

Installation

Please install the development version of ProKabaddi_API using pip:

pip install pro_kabaddi_data

Deployed here: https://pypi.org/project/pro-kabaddi-data/

Usage

Here's a quick minimal example of how to get started with the Kabaddi Data Aggregator:

from prokabaddidata import prokabaddidata

# Initialize the aggregator
api = kabaddiPy.KabaddiDataAPI()

# Get all player information for a specific team
players_info = api.get_team_matches(7, 4)

For more detailed usage instructions and API documentation, please refer to our documentation page.

Features

Here are our current features. New and better features are actively being developed!!

Current season standings

standings = aggregator.team_season_standings(team=None, rank=None)

Return the current season rankings of all teams by default

Parameters

  • team (str, optional): Get season rank by team name
  • rank (int, optional): Get team by season rank

Player Performance

stats = aggregator.player_performance("team="Bengal Warriors")

Returns career level player metrics. team should be specified.

Loading Lifetime Data

player_df = aggregator.load_data(PlayerDetails=True, TeamDetails = False, TeamMembers = False)

Defaults to loading lifetime player data for all teams.

Parameters

  • PlayerDetails (bool): Loads player details into a DataFrame. Default is True.
  • TeamDetails (bool): Loads team-level statistics into a DataFrame. Default is False.
  • TeamMembers (bool): Loads the details of current team members into a DataFrame. Default is False.

Team level stats

teamstats = aggregator.team_level_stats(season=None)

Returns team-level stats by season. Defaults to latest season.

Contributing

We welcome contributions to the Kabaddi Data Aggregator project! If you'd like to contribute, please follow these steps:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature-name)
  3. Make your changes
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin feature/your-feature-name)
  6. Create a new Pull Request

License

This project is licensed under the GPL-2.0 License - see the LICENSE file for details.

Acknowledgments

  • Thanks to the various website owners for providing the data sources

Contact

If you have any questions, feel free to reach out to [Aniruddha Mukherjee] at [mukh.aniruddha@gmail.com] or open an issue in the GitHub repository.


Made with ❤️ for Kabaddi enthusiasts and data analysts

Please star this repository if you found it helpful! Your support is greatly appreciated.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kabaddipy-0.0.1.tar.gz (14.6 MB view hashes)

Uploaded Source

Built Distribution

kabaddiPy-0.0.1-py3-none-any.whl (17.6 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page