How reisz1995/tabelanba2 works
Tabelanba 2.0 is an automated NBA data and prediction platform. Its main workflow collects standings, player leaders, team momentum, advanced metrics, injuries, and game context; persists those datasets in Supabase; then generates AI-assisted betting analysis and exposes injury data through a local REST API. The graph includes the documented prediction inputs and output, though the relevant predictor implementation is only partially excerpted; edges not directly supported by shown code are omitted or marked unverified.
Main entry points: scrape.js Standings and pace · nba_injuries_api.py Injury sync · importPlayers.js Player leaders · update-nba-stats.js Team momentum
Components 19
Data collection
- Standings and pace
scrape.js - Player leaders
importPlayers.js - Team momentum
scripts/update-nba-stats.js - Advanced metrics
scraper_databallr.py - Game schedule
nba_scraper.py
Analysis and prediction
- AI game predictions
predict_games.py
Injury service
- Injury sync
nba_injuries_api.py - Injury REST API
flask_api.py - API examples
exemplos_uso.py
Persistence
- Supabase database
- Injury JSON cache
nba_injuries.json - Injury JSON importer
supabase_integration.py
External sources
- ESPN APIs
- Hollinger
- Databallr
- Scores24
- Groq LLaMA
Other components
- Pipeline operator
- Injury API consumer
Connections 28
- Pipeline operator → Standings and pace: runs
README.md - Pipeline operator → Player leaders: runs
README.md - Pipeline operator → Team momentum: runs
README.md - Pipeline operator → Advanced metrics: runs
README.md - Pipeline operator → Game schedule: runs
README.md - Pipeline operator → Injury sync: runs
README.md - Pipeline operator → AI game predictions: runs
README.md - Standings and pace → ESPN APIs: fetches standings
scrape.js - Standings and pace → Hollinger: fetches pace
scrape.js - Standings and pace → Supabase database: writes standings
scrape.js - Player leaders → ESPN APIs: fetches leaders
importPlayers.js - Player leaders → Supabase database: upserts leaders
importPlayers.js - Team momentum → ESPN APIs: fetches games
scripts/update-nba-stats.js - Team momentum → Supabase database: updates records
scripts/update-nba-stats.js - Advanced metrics → Databallr: extracts metrics
README.md - Advanced metrics → Supabase database: upserts metrics
scraper_databallr.py - Game schedule → Scores24: scrapes games
README.md - Game schedule → Supabase database: upserts schedule
nba_scraper.py - Injury sync → ESPN APIs: fetches rosters
nba_injuries_api.py - Injury sync → Supabase database: writes injuries
nba_injuries_api.py - Injury sync → Injury JSON cache: backs up injuries
nba_injuries_api.py - Injury API consumer → Injury REST API: requests data
README.md - Injury REST API → Injury JSON cache: reads cache
flask_api.py - API examples → Injury REST API: calls endpoints
exemplos_uso.py - Injury JSON importer → Injury JSON cache: loads injuries
supabase_integration.py - Injury JSON importer → Supabase database: upserts injuries
supabase_integration.py - AI game predictions → Supabase database: reads analytics
README.md - AI game predictions → Groq LLaMA: generates analysis
README.md