janitor-bot

An MLB outfield assist tracker. Polls the Stats API on a schedule, ranks each throw by quality, matches it to a Baseball Savant clip, and pings Slack when something good happens.

about

Detects runners thrown out by an outfielder (LF / CF / RF) and tiers each play as high, medium, or low based on the difficulty of the throw, the leverage of the situation, and whether a relay was involved.

Data lives in a small SQLite database and is exposed through a JSON API. A background daemon polls live and recently-final games every 30 minutes and pushes notifications for any new detections.

endpoints
links