Open
Description
This is a complete shot in the dark, but I am looking to connect the data from a given game to written summaries or articles about the game. An ideal state is a strong connection between the news article(s) and the game id.
I explored the summary key from the play by play call, but for last night's game, the entry is empty.
from nhlpy import NHLClient
client = NHLClient()
# game 2 ECF Panthers at Canes
gid = '2024030312'
pbp = client.game_center.play_by_play(game_id=gid)
pbp.keys()
# dict_keys(['id', 'season', 'gameType', 'limitedScoring', 'gameDate', 'venue', 'venueLocation', 'startTimeUTC', 'easternUTCOffset', 'venueUTCOffset', 'tvBroadcasts', 'gameState', 'gameScheduleState', 'periodDescriptor', 'awayTeam', 'homeTeam', 'shootoutInUse', 'otInUse', 'clock', 'displayPeriod', 'gameOutcome', 'plays', 'rosterSpots', 'regPeriods', 'summary'])
pbp.get('summary')
# {}
I wasn't sure if there were data that I am overlooking, but as noted above, figured this is a long shot.
Metadata
Metadata
Assignees
Labels
No labels