A web application that provides real-time MLB statistics through a clean, interactive interface built with Streamlit.
- Browse all MLB teams and their information
- View team batting and pitching statistics for any season
- Explore team rosters with detailed player information
- Search for players by name
- Display comprehensive player statistics including batting and pitching data
- Clone the repository
- Install the required dependencies:
pip install -r requirements.txt
Run the application with:
streamlit run app.py
The application will open in your default web browser.
- Teams: View a list of all MLB teams
- Team Statistics: Access batting and pitching statistics for any MLB team
- Team Roster: View detailed information about players on a team's roster
- Player Search: Find players by name
- Player Statistics: View comprehensive statistics for individual players
This application retrieves data from the MLB Stats API and displays it in a user-friendly format.
- Python 3.6+
- requests
- beautifulsoup4
- pandas
- streamlit