mlb-led-scoreboard icon indicating copy to clipboard operation
mlb-led-scoreboard copied to clipboard

Introduce City Connect colors

Open twfarley opened this issue 2 years ago • 3 comments

This issue is a

  • [ ] Bug Report
  • [x] Feature Request

Introduce behavior to use applicable City Connect colors on Tuesdays for home games.

twfarley avatar Aug 03 '22 01:08 twfarley

I think different teams do city connects on different days. Nationals do it on Saturday

WardBrian avatar Aug 03 '22 02:08 WardBrian

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: @.***>

twfarley avatar Aug 03 '22 02:08 twfarley

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)

WardBrian avatar Aug 04 '22 01:08 WardBrian