This project is focused on developing APIs using Flask to analyze IPL matches data. The APIs are designed to provide insights into player statistics, team performances, and predict match outcomes. This project showcases skills in API development, data preprocessing, and data analysis.
- Data Collection & Preprocessing: Gathered IPL match data, cleaned it, and prepared it for analysis.
- Exploratory Data Analysis (EDA): Uncovered trends and insights from the data, such as top-performing players and teams.
- API Development: Created secure and efficient Flask APIs to provide easy access to the analyzed data.
- Programming Language: Python
- Web Framework: Flask
- Data Analysis: Pandas, NumPy
- Database: SQL (optional for storing data)
- API Testing: Postman
- Clone the Repository:
git clone https://github.com/rahul703-ai/ipl-data-analysis-api.git
- Navigate to the Project Directory:
cd ipl-data-analysis-api - Install Dependencies:
Ensure you have Python installed. Then, install the required packages:
pip install -r requirements.txt
- Set Up the Database (Optional): If you are using a database, set it up and configure the connection in the Flask app.
- Run the Flask Server:
flask run
- Access the APIs: Use tools like Postman or a web browser to interact with the APIs.
-
Player Statistics:
- Endpoint:
/api/player-stats - Method:
GET - Description: Retrieve statistics for individual players.
- Endpoint:
-
Team Performance:
- Endpoint:
/api/team-performance - Method:
GET - Description: Get performance metrics for teams.
- Endpoint:
-
Match Outcome Prediction:
- Endpoint:
/api/match-outcome - Method:
GET - Description: Predict the outcome of upcoming matches based on historical data.
- Endpoint:
Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure that your code is well-documented and tested.
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to adjust any sections or details to better suit your project!