Skip to content

natehessler/MLBstats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLB Statistics Viewer

A web application that provides real-time MLB statistics through a clean, interactive interface built with Streamlit.

Features

  • 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

Installation

  1. Clone the repository
  2. Install the required dependencies:
    pip install -r requirements.txt
    

Usage

Run the application with:

streamlit run app.py

The application will open in your default web browser.

Navigation

  • 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

Data Source

This application retrieves data from the MLB Stats API and displays it in a user-friendly format.

Requirements

  • Python 3.6+
  • requests
  • beautifulsoup4
  • pandas
  • streamlit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages