mlb-led-scoreboard
mlb-led-scoreboard copied to clipboard
Introduce City Connect colors
This issue is a
- [ ] Bug Report
- [x] Feature Request
Introduce behavior to use applicable City Connect colors on Tuesdays for home games.
I think different teams do city connects on different days. Nationals do it on Saturday
Ah. Well, that makes this a lot more difficult. Unless we can pull that from stats. But I doubt it. On Aug 2, 2022, at 7:28 PM, Brian Ward @.***> wrote: I think different teams do city connects on different days. Nationals do it on Saturday
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were assigned.Message ID: @.***>
https://statsapi.mlb.com/api/v1/schedule?sportId=1&gamePk=662476&hydrate=game(promotions)
They appear to be listed as "promotions" under the schedule endpoint if you hydrate game(promotions)
Doesn't seem like there's a super standard format for this though, see tonight's angels game for another: https://statsapi.mlb.com/api/v1/schedule?sportId=1&gamePk=663375&hydrate=game(promotions)