8000 Game Summaries or News Articles related to GameID · Issue #105 · coreyjs/nhl-api-py · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Game Summaries or News Articles related to GameID #105
Open
@Btibert3

Description

@Btibert3

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
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0