get-game-play-by-play
Retrieve detailed play-by-play data for NHL games. Filter events by type (e.g., goals, penalties) or adjust the number of events returned using game ID and optional parameters.
Instructions
Get play-by-play data for a specific NHL game
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filterByType | No | Filter events by type (e.g., 'goal', 'penalty', 'shot-on-goal', 'hit') | |
gameId | Yes | Game ID in the format YYYYYYYY (e.g., 2023020204) | |
maxEvents | No | Maximum number of events to return (default: 50, use 0 for all) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"filterByType": {
"description": "Filter events by type (e.g., 'goal', 'penalty', 'shot-on-goal', 'hit')",
"type": "string"
},
"gameId": {
"description": "Game ID in the format YYYYYYYY (e.g., 2023020204)",
"type": "string"
},
"maxEvents": {
"default": 50,
"description": "Maximum number of events to return (default: 50, use 0 for all)",
"type": "number"
}
},
"required": [
"gameId"
],
"type": "object"
}