Sports Widget
Shows live and recent scores from NFL, NBA, MLB, and college sports leagues via the ESPN API.
Configuration
No API key required.
| Key | Type | Default | Description |
|---|---|---|---|
leagues | string[] | ["NFL", "NBA", "MLB"] | Leagues to show scores for |
favoriteTeams | object | {} | Map of league → team abbreviation to filter by |
Supported leagues
| Value | League |
|---|---|
NFL | NFL |
NBA | NBA |
MLB | MLB |
NCAAF | NCAA Football |
NCAAM | NCAA Men's Basketball |
NCAAW | NCAA Women's Basketball |
Example config
json
{
"leagues": ["NFL", "NBA"],
"favoriteTeams": {
"NFL": "GB",
"NBA": "MIL"
}
}When a favourite team is set for a league, only games involving that team are shown.
Finding team abbreviations
Team abbreviations follow ESPN conventions. Open the team picker in the widget settings to browse all teams for each league.