Skip to content

ohad2406/project_fotball

Repository files navigation

⚽ Football Data Pipeline Dashboard

A complete Data Engineering & Data Visualization project built with Python.
It demonstrates how to fetch, process, store, and visualize real football league data using modern Python libraries.


🧩 Overview

This project connects to the API-Football service to collect live league data.
The data is processed into structured tables, stored locally in SQLite, and visualized using an interactive Streamlit dashboard.

Data Flow:
API → Fetch → Transform → Load → Streamlit Dashboard


🏗️ Project Structure

project_fotball/
│
├── football_data_fetcher.py
├── process_leagues.py
├── db_utils.py
├── football_dashboard.py
├── requirements.txt
├── .env.example
└── README.md

🚀 How to Run

  1. Clone the repository
git clone https://github.com/ohad2406/project_fotball
cd project_fotball
  1. Install dependencies
pip install -r requirements.txt
  1. Set up your API key
APISPORTS_KEY=your_api_key_here
  1. Run the ETL process
python process/process_leagues.py
  1. Launch the Streamlit dashboard
streamlit run dashboard/football_dashboard.py

📊 Features

✅ Fetches football league data via API-Football
✅ Cleans and transforms the data into structured tables
✅ Saves the data to an SQLite database
✅ Displays KPIs, charts, and tables in an interactive Streamlit dashboard
✅ Supports dynamic filtering and CSV export


🧠 Technologies

  • Python
  • Pandas
  • Requests
  • SQLite3
  • Streamlit
  • Plotly
  • dotenv

👨‍💻 Author

Ohad Shmuel
Data Analyst & Software Developer

About

Football data pipeline: fetch, transform, and visualize league data with Pandas, SQLite, and Streamlit.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages