Results / Dallas Stars at Vancouver Canucks
Dallas Stars
Away5–2Final
Dallas Stars at Vancouver Canucks
Score by period
| Team | 1 | 2 | 3 | T | SOG |
|---|---|---|---|---|---|
| 2 | 2 | 1 | 5 | 31 | |
| 0 | 1 | 1 | 2 | 12 |
Goals and penalties
1st period
- 6:24Goal DAL Miro Heiskanen (Wyatt Johnston) 1–0
- 11:47Goal DAL Roope Hintz (Jason Robertson, Arttu Hyry) 2–0
2nd period
- 0:372 min DAL Sam Steel Slashing, drawn by Elias Pettersson
- 1:57Goal VAN Liam Ohgren (Marco Rossi, Filip Hronek) Power play 2–1
- 8:062 min VAN Jamie Oleksiak Holding, drawn by Mikko Rantanen
- 10:48Goal DAL Mikko Rantanen (Thomas Harley, Wyatt Johnston) 3–1
- 11:565 min VAN Elias Pettersson Fighting, drawn by Joel Kiviranta
- 11:565 min DAL Joel Kiviranta Fighting, drawn by Elias Pettersson
- 13:382 min VAN Linus Karlsson Holding, drawn by Sam Steel
- 15:22Goal DAL Justin Hryckowian (Jason Robertson, Mikko Rantanen) Power play 4–1
- 15:362 min DAL Nils Lundkvist Tripping, drawn by Paul Cotter
3rd period
- 0:412 min VAN Jonathan Lekkerimäki Tripping, drawn by Jason Robertson
- 4:35Goal DAL Mikko Rantanen (Wyatt Johnston, Justin Hryckowian) 5–1
- 5:012 min DAL Tyler Myers Elbowing, drawn by Ty Mueller
- 5:43Goal VAN Jonathan Lekkerimäki (Marco Rossi, Filip Hronek) Power play 5–2
Box score
Dallas Stars skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|---|---|---|---|---|---|
| 96 Mikko Rantanen RW | 2 | 1 | 3 | +3 | 6 | 17:55 |
| 53 Wyatt Johnston C | 0 | 3 | 3 | +3 | 6 | 17:21 |
| 49 Justin Hryckowian C | 1 | 1 | 2 | +3 | 2 | 16:22 |
| 21 Jason Robertson LW | 0 | 2 | 2 | +1 | 3 | 18:34 |
| 4 Miro Heiskanen D | 1 | 0 | 1 | +4 | 2 | 23:42 |
| 24 Roope Hintz C | 1 | 0 | 1 | +1 | 2 | 15:43 |
| 55 Thomas Harley D | 0 | 1 | 1 | +1 | 1 | 21:26 |
| 25 Arttu Hyry RW | 0 | 1 | 1 | +1 | 0 | 16:38 |
| 23 Esa Lindell D | 0 | 0 | 0 | +3 | 1 | 19:59 |
| 5 Nils Lundkvist D | 0 | 0 | 0 | 0 | 3 | 17:39 |
| 57 Tyler Myers D | 0 | 0 | 0 | 0 | 0 | 16:44 |
| 18 Sam Steel C | 0 | 0 | 0 | 0 | 0 | 15:13 |
| 91 Tyler Seguin C | 0 | 0 | 0 | 0 | 1 | 14:48 |
| 28 Kyle Burroughs D | 0 | 0 | 0 | 0 | 1 | 14:44 |
| 14 Jamie Benn LW | 0 | 0 | 0 | 0 | 4 | 13:54 |
| 10 Oskar Bäck C | 0 | 0 | 0 | 0 | 0 | 11:04 |
| 22 Joel Kiviranta LW | 0 | 0 | 0 | 0 | 0 | 11:01 |
| 15 Colin Blackwell C | 0 | 0 | 0 | 0 | 0 | 9:31 |
Dallas Stars goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|---|---|---|---|---|---|
| 29 Jake Oettinger | 12 | 10 | 2 | .833 | 59:16 |
Vancouver Canucks skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|---|---|---|---|---|---|
| 17 Filip Hronek D | 0 | 2 | 2 | -1 | 1 | 26:03 |
| 23 Marco Rossi C | 0 | 2 | 2 | -3 | 0 | 17:20 |
| 92 Liam Ohgren LW | 1 | 0 | 1 | -1 | 2 | 17:25 |
| 88 Jonathan Lekkerimäki RW | 1 | 0 | 1 | -1 | 2 | 15:17 |
| 25 Elias Pettersson D | 0 | 0 | 0 | -3 | 0 | 20:39 |
| 4 Jamie Oleksiak D | 0 | 0 | 0 | -1 | 0 | 19:13 |
| 5 Tom Willander D | 0 | 0 | 0 | -3 | 1 | 19:10 |
| 6 Brock Boeser RW | 0 | 0 | 0 | -3 | 2 | 17:15 |
| 59 Kirill Kudryavtsev D | 0 | 0 | 0 | 0 | 0 | 16:45 |
| 39 Ty Mueller C | 0 | 0 | 0 | -1 | 0 | 15:28 |
| 18 Drew O'Connor LW | 0 | 0 | 0 | -3 | 3 | 15:27 |
| 21 Chase Wouters C | 0 | 0 | 0 | 0 | 0 | 14:32 |
| 94 Linus Karlsson C | 0 | 0 | 0 | 0 | 1 | 13:24 |
| 2 Luke Schenn D | 0 | 0 | 0 | 0 | 0 | 12:46 |
| 62 Jacob Quillan C | 0 | 0 | 0 | 0 | 0 | 12:41 |
| 47 Paul Cotter LW | 0 | 0 | 0 | 0 | 0 | 12:34 |
| 13 Arshdeep Bains LW | 0 | 0 | 0 | 0 | 0 | 12:28 |
| 29 Cole Reinhardt LW | 0 | 0 | 0 | 0 | 0 | 12:09 |
Vancouver Canucks goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|---|---|---|---|---|---|
| 32 Kevin Lankinen | 32 | 27 | 5 | .844 | 59:16 |
Play-by-play
Every faceoff, shot, hit, giveaway, takeaway, stoppage and goal, newest first. Each play also has rink coordinates in feet in the API.
1st period 98 plays
- 20:00Period end
- 19:51DALFaceoff Roope Hintz, Ty Mueller
- 19:51Stoppage offside
- 19:48VANGiveaway Marco Rossi
- 19:41VANShot on goal wrist Brock Boeser, Jake Oettinger
- 19:32VANMissed shot wrist Brock Boeser, Jake Oettinger
- 19:28DALHit Esa Lindell, Brock Boeser
- 19:00VANHit Cole Reinhardt, Thomas Harley
- 18:20VANFaceoff Chase Wouters, Sam Steel
- 18:20Stoppage icing
- 16:57DALHit Joel Kiviranta, Luke Schenn
- 16:45VANHit Arshdeep Bains, Miro Heiskanen
- 16:08VANBlocked shot blocked Brock Boeser, Miro Heiskanen
- 15:37DALShot on goal snap Nils Lundkvist, Kevin Lankinen
- 15:27VANGiveaway Filip Hronek
- 15:27DALShot on goal wrist Jamie Benn, Kevin Lankinen
- 14:58DALHit Roope Hintz, Tom Willander
- 14:54DALHit Roope Hintz, Jonathan Lekkerimäki
- 14:52VANHit Elias Pettersson, Jason Robertson
- 14:48DALGiveaway Arttu Hyry
- 14:36DALBlocked shot blocked Jason Robertson, Elias Pettersson
- 13:12DALShot on goal wrist Wyatt Johnston, Kevin Lankinen
- 12:46VANHit Luke Schenn, Justin Hryckowian
- 12:40VANMissed shot wrist Luke Schenn, Jake Oettinger
- 12:31VANFaceoff Marco Rossi, Wyatt Johnston
- 12:31Stoppage offside
- 11:56VANHit Cole Reinhardt, Sam Steel
- 11:47VANFaceoff Chase Wouters, Sam Steel
- 11:47DALGoal snap Roope Hintz, Jason Robertson, Arttu Hyry, Kevin Lankinen 2–0
- 11:39DALShot on goal tip in Jason Robertson, Kevin Lankinen
- 11:26DALHit Roope Hintz, Ty Mueller
- 11:14VANFaceoff Ty Mueller, Roope Hintz
- 11:14Stoppage puck in benches
- 11:06DALFaceoff Arttu Hyry, Ty Mueller
- 11:06Stoppage puck in crowd
- 10:50DALFaceoff Oskar Bäck, Jacob Quillan
- 10:50Stoppage goalie stopped after sog
- 10:48VANShot on goal slap Brock Boeser, Jake Oettinger
- 10:44VANMissed shot wrist Elias Pettersson, Jake Oettinger
- 10:23DALBlocked shot blocked Wyatt Johnston, Kirill Kudryavtsev
- 10:13DALMissed shot wrist Mikko Rantanen, Kevin Lankinen
- 10:05VANFaceoff Drew O'Connor, Wyatt Johnston
- 10:05Stoppage goalie stopped after sog
- 10:03DALShot on goal wrist Wyatt Johnston, Kevin Lankinen
- 10:00DALFaceoff Justin Hryckowian, Jacob Quillan
- 10:00Stoppage icing
- 9:44DALFaceoff Justin Hryckowian, Jacob Quillan
- 9:44Stoppage hand pass
- 9:32VANFaceoff Jacob Quillan, Mikko Rantanen
- 9:32Stoppage high stick
- 9:03VANHit Drew O'Connor, Miro Heiskanen
- 8:50VANHit Elias Pettersson, Arttu Hyry
- 8:36DALShot on goal wrist Esa Lindell, Kevin Lankinen
- 8:35DALFaceoff Roope Hintz, Ty Mueller
- 8:35Stoppage icing
- 8:04VANHit Chase Wouters, Arttu Hyry
- 7:57DALBlocked shot blocked Arttu Hyry, Filip Hronek
- 7:51VANGiveaway Kirill Kudryavtsev
- 7:44DALShot on goal backhand Jamie Benn, Kevin Lankinen
- 7:43VANHit Cole Reinhardt, Kyle Burroughs
- 7:30VANBlocked shot blocked Kirill Kudryavtsev, Jamie Benn
- 7:01VANBlocked shot blocked Jacob Quillan, Nils Lundkvist
- 6:57DALGiveaway Thomas Harley
- 6:47VANHit Luke Schenn, Oskar Bäck
- 6:24DALFaceoff Oskar Bäck, Jacob Quillan
- 6:24DALGoal snap Miro Heiskanen, Wyatt Johnston, Kevin Lankinen 1–0
- 6:19DALFaceoff Wyatt Johnston, Marco Rossi
- 6:19Stoppage puck in netting
- 6:17DALShot on goal wrist Mikko Rantanen, Kevin Lankinen
- 6:08VANFaceoff Brock Boeser, Justin Hryckowian
- 6:08Stoppage goalie stopped after sog
- 6:05DALShot on goal wrist Mikko Rantanen, Kevin Lankinen
- 5:59DALShot on goal backhand Mikko Rantanen, Kevin Lankinen
- 5:47VANGiveaway Ty Mueller
- 5:36DALBlocked shot blocked Wyatt Johnston, Ty Mueller
- 4:49VANHit Drew O'Connor, Miro Heiskanen
- 4:39VANHit Chase Wouters, Nils Lundkvist
- 4:18VANHit Ty Mueller, Sam Steel
- 4:04DALShot on goal wrist Miro Heiskanen, Kevin Lankinen
- 3:59DALFaceoff Tyler Seguin, Ty Mueller
- 3:59Stoppage high stick
- 3:56DALMissed shot slap Sam Steel, Kevin Lankinen
- 3:26DALHit Colin Blackwell, Jacob Quillan
- 2:53VANHit Paul Cotter, Tyler Myers
- 2:07VANShot on goal wrist Jonathan Lekkerimäki, Jake Oettinger
- 2:04DALGiveaway Nils Lundkvist
- 1:59DALFaceoff Justin Hryckowian, Ty Mueller
- 1:59Stoppage puck in netting
- 1:57VANBlocked shot blocked Jonathan Lekkerimäki, Thomas Harley
- 1:56DALGiveaway Mikko Rantanen
- 1:53VANBlocked shot blocked Ty Mueller, Nils Lundkvist
- 1:50VANHit Liam Ohgren, Nils Lundkvist
- 1:50DALGiveaway Nils Lundkvist
- 1:02VANGiveaway Brock Boeser
- 0:32DALShot on goal backhand Tyler Seguin, Kevin Lankinen
- 0:21VANHit Chase Wouters, Jamie Benn
- 0:00DALFaceoff Sam Steel, Chase Wouters
- 0:00Period start
2nd period 93 plays
- 20:00Period end
- 19:29DALHit Sam Steel, Luke Schenn
- 18:53DALMissed shot slap Joel Kiviranta, Kevin Lankinen
- 18:49VANGiveaway Arshdeep Bains
- 18:30DALFaceoff Roope Hintz, Jacob Quillan
- 18:30Stoppage goalie stopped after sog
- 18:28DALShot on goal wrist Kyle Burroughs, Kevin Lankinen
- 18:00DALBlocked shot blocked Wyatt Johnston, Chase Wouters
- 17:56DALFaceoff Wyatt Johnston, Chase Wouters
- 17:56Stoppage icing
- 17:20VANBlocked shot blocked Filip Hronek, Justin Hryckowian
- 16:54VANFaceoff Marco Rossi, Justin Hryckowian
- 16:54Stoppage icing
- 15:40DALGiveaway Esa Lindell
- 15:36DALFaceoff Arttu Hyry, Marco Rossi
- 15:36Stoppage tv timeout
- 15:36DALPenalty tripping Nils Lundkvist, Paul Cotter
- 15:30VANHit Filip Hronek, Oskar Bäck
- 15:22DALFaceoff Arttu Hyry, Jacob Quillan
- 15:22DALGoal backhand Justin Hryckowian, Jason Robertson, Mikko Rantanen, Kevin Lankinen 4–1
- 15:21DALShot on goal between legs Jason Robertson, Kevin Lankinen
- 14:58DALGiveaway Tyler Seguin
- 13:38DALFaceoff Roope Hintz, Chase Wouters
- 13:38VANPenalty holding Linus Karlsson, Sam Steel
- 13:35VANDelayed penalty
- 13:35VANGiveaway Linus Karlsson
- 13:13VANHit Cole Reinhardt, Sam Steel
- 12:59DALHit Tyler Seguin, Cole Reinhardt
- 12:40DALFaceoff Tyler Seguin, Chase Wouters
- 12:40Stoppage goalie stopped after sog
- 12:38VANShot on goal wrist Liam Ohgren, Jake Oettinger
- 12:35DALHit Arttu Hyry, Jamie Oleksiak
- 11:56VANFaceoff Ty Mueller, Roope Hintz
- 11:56DALPenalty fighting Joel Kiviranta, Elias Pettersson
- 11:56VANPenalty fighting Elias Pettersson, Joel Kiviranta
- 11:52DALHit Oskar Bäck, Filip Hronek
- 11:35DALHit Mikko Rantanen, Elias Pettersson
- 11:05DALHit Thomas Harley, Arshdeep Bains
- 10:56VANMissed shot wrist Paul Cotter, Jake Oettinger
- 10:55VANTakeaway Arshdeep Bains
- 10:48DALFaceoff Wyatt Johnston, Jacob Quillan
- 10:48DALGoal snap Mikko Rantanen, Thomas Harley, Wyatt Johnston, Kevin Lankinen 3–1
- 10:42DALFaceoff Wyatt Johnston, Marco Rossi
- 10:42Stoppage goalie stopped after sog
- 10:40DALShot on goal slap Nils Lundkvist, Kevin Lankinen
- 10:16VANFaceoff Chase Wouters, Arttu Hyry
- 10:16Stoppage puck in netting
- 10:15VANBlocked shot blocked Jamie Oleksiak, Thomas Harley
- 9:25DALMissed shot wrist Roope Hintz, Kevin Lankinen
- 9:18VANGiveaway Luke Schenn
- 9:13VANHit Luke Schenn, Roope Hintz
- 9:05DALShot on goal wrist Mikko Rantanen, Kevin Lankinen
- 8:06VANFaceoff Chase Wouters, Mikko Rantanen
- 8:06Stoppage tv timeout
- 8:06VANPenalty holding Jamie Oleksiak, Mikko Rantanen
- 7:59VANDelayed penalty
- 7:05DALBlocked shot blocked Jason Robertson, Kirill Kudryavtsev
- 6:39VANGiveaway Arshdeep Bains
- 6:16VANTakeaway Jacob Quillan
- 5:58VANHit Jacob Quillan, Oskar Bäck
- 5:57VANTakeaway Luke Schenn
- 5:12VANBlocked shot teammate blocked Linus Karlsson, Chase Wouters
- 4:47DALFaceoff Tyler Seguin, Chase Wouters
- 4:47Stoppage goalie stopped after sog
- 4:45VANShot on goal deflected Linus Karlsson, Jake Oettinger
- 4:31VANFaceoff Chase Wouters, Sam Steel
- 4:31Stoppage icing
- 4:15VANHit Ty Mueller, Kyle Burroughs
- 3:49VANHit Ty Mueller, Justin Hryckowian
- 3:40VANBlocked shot blocked Luke Schenn, Wyatt Johnston
- 3:38VANFaceoff Ty Mueller, Justin Hryckowian
- 3:38Stoppage puck frozen
- 3:35VANMissed shot wrist Drew O'Connor, Jake Oettinger
- 3:34VANShot on goal wrist Drew O'Connor, Jake Oettinger
- 3:06VANShot on goal wrist Drew O'Connor, Jake Oettinger
- 2:50VANHit Marco Rossi, Jason Robertson
- 2:46VANMissed shot deflected Linus Karlsson, Jake Oettinger
- 2:34VANHit Jacob Quillan, Thomas Harley
- 2:22VANHit Jacob Quillan, Nils Lundkvist
- 2:22VANTakeaway Linus Karlsson
- 2:17DALHit Arttu Hyry, Tom Willander
- 2:07VANBlocked shot blocked Jacob Quillan, Thomas Harley
- 1:57DALFaceoff Arttu Hyry, Ty Mueller
- 1:57VANGoal snap Liam Ohgren, Marco Rossi, Filip Hronek, Jake Oettinger 2–1
- 1:20VANGiveaway Marco Rossi
- 1:00DALFaceoff Justin Hryckowian, Marco Rossi
- 1:00Stoppage goalie stopped after sog
- 0:58VANShot on goal slap Filip Hronek, Jake Oettinger
- 0:37VANFaceoff Marco Rossi, Arttu Hyry
- 0:37DALPenalty slashing Sam Steel, Elias Pettersson
- 0:28VANHit Chase Wouters, Jamie Benn
- 0:00DALFaceoff Tyler Seguin, Chase Wouters
- 0:00Period start
3rd period 75 plays
- 20:00Period end
- 17:36DALTakeaway Esa Lindell
- 17:33DALShot on goal Justin Hryckowian, Kevin Lankinen
- 16:32VANHit Luke Schenn, Sam Steel
- 15:06VANHit Filip Hronek, Jason Robertson
- 14:49VANShot on goal wrist Drew O'Connor, Jake Oettinger
- 14:39DALShot on goal deflected Jason Robertson, Kevin Lankinen
- 14:35VANFaceoff Marco Rossi, Roope Hintz
- 14:35Stoppage icing
- 13:54VANHit Ty Mueller, Justin Hryckowian
- 13:51VANBlocked shot blocked Jonathan Lekkerimäki, Thomas Harley
- 13:31VANMissed shot wrist Jonathan Lekkerimäki, Jake Oettinger
- 13:09DALShot on goal backhand Jamie Benn, Kevin Lankinen
- 13:02VANHit Cole Reinhardt, Jamie Benn
- 12:57VANMissed shot wrist Linus Karlsson, Jake Oettinger
- 12:56VANHit Chase Wouters, Thomas Harley
- 12:44DALFaceoff Tyler Seguin, Chase Wouters
- 12:44Stoppage offside
- 12:37DALHit Kyle Burroughs, Arshdeep Bains
- 12:21DALMissed shot tip in Sam Steel, Kevin Lankinen
- 12:19DALFaceoff Tyler Seguin, Jacob Quillan
- 12:19Stoppage high stick
- 11:51VANHit Jamie Oleksiak, Joel Kiviranta
- 11:24VANHit Luke Schenn, Arttu Hyry
- 10:53DALHit Thomas Harley, Jonathan Lekkerimäki
- 10:48DALShot on goal wrist Wyatt Johnston, Kevin Lankinen
- 10:47DALShot on goal wrist Nils Lundkvist, Kevin Lankinen
- 10:31DALShot on goal wrist Wyatt Johnston, Kevin Lankinen
- 10:30DALShot on goal wrist Wyatt Johnston, Kevin Lankinen
- 10:29VANHit Jonathan Lekkerimäki, Mikko Rantanen
- 10:21DALHit Thomas Harley, Tom Willander
- 10:11VANTakeaway Liam Ohgren
- 10:04DALFaceoff Justin Hryckowian, Ty Mueller
- 10:04Stoppage puck in benches
- 9:45DALShot on goal slap Jamie Benn, Kevin Lankinen
- 9:25VANBlocked shot blocked Paul Cotter, Tyler Myers
- 9:06DALHit Kyle Burroughs, Jacob Quillan
- 9:04DALHit Tyler Myers, Arshdeep Bains
- 8:21VANBlocked shot blocked Tom Willander, Miro Heiskanen
- 8:11VANBlocked shot blocked Elias Pettersson, Esa Lindell
- 7:05VANGiveaway Liam Ohgren
- 7:02VANTakeaway Liam Ohgren
- 6:51VANHit Filip Hronek, Justin Hryckowian
- 6:20DALFaceoff Wyatt Johnston, Ty Mueller
- 6:20Stoppage puck frozen
- 6:04DALMissed shot slap Thomas Harley, Kevin Lankinen
- 5:43DALFaceoff Sam Steel, Chase Wouters
- 5:43VANGoal bat Jonathan Lekkerimäki, Marco Rossi, Filip Hronek, Jake Oettinger 5–2
- 5:40VANMissed shot tip in Marco Rossi, Jake Oettinger
- 5:01DALFaceoff Arttu Hyry, Marco Rossi
- 5:01DALPenalty elbowing Tyler Myers, Ty Mueller
- 4:56DALDelayed penalty
- 4:56VANMissed shot slap Luke Schenn, Jake Oettinger
- 4:35DALFaceoff Roope Hintz, Ty Mueller
- 4:35DALGoal backhand Mikko Rantanen, Wyatt Johnston, Justin Hryckowian, Kevin Lankinen 5–1
- 4:20DALFaceoff Justin Hryckowian, Marco Rossi
- 4:20Stoppage goalie stopped after sog
- 4:18VANShot on goal snap Tom Willander, Jake Oettinger
- 3:57VANHit Elias Pettersson, Colin Blackwell
- 3:34DALMissed shot tip in Joel Kiviranta, Kevin Lankinen
- 3:15DALTakeaway Nils Lundkvist
- 2:26DALFaceoff Justin Hryckowian, Chase Wouters
- 2:26Stoppage goalie stopped after sog
- 2:24DALShot on goal snap Thomas Harley, Kevin Lankinen
- 1:41DALGiveaway Roope Hintz
- 1:31DALShot on goal wrist Wyatt Johnston, Kevin Lankinen
- 1:31DALShot on goal wrist Roope Hintz, Kevin Lankinen
- 1:09DALBlocked shot blocked Jason Robertson, Filip Hronek
- 0:51DALBlocked shot blocked Jason Robertson, Filip Hronek
- 0:41DALFaceoff Roope Hintz, Chase Wouters
- 0:41VANPenalty tripping Jonathan Lekkerimäki, Jason Robertson
- 0:30VANFaceoff Ty Mueller, Roope Hintz
- 0:30Stoppage high stick
- 0:00DALFaceoff Sam Steel, Chase Wouters
- 0:00Period start
Team stats
DALVAN
32Shots on goal12
68.0Faceoffs won %32.0
1/3Power play2/3
11Penalty minutes11
18Hits36
13Blocked shots8
8Giveaways11
2Takeaways6
Get this game with the SportAPI hockey API
Four requests build this page: /games/3947 for the score and team stats, /games/3947/players for the box score, /games/3947/events for goals and penalties, and /games/3947/plays for the play-by-play (add ?period=2 for one period). During a game, read them about once a minute.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://sportapi.ai/api/hockey/games/3947"{ "data": {"id":3947,"start":"2026-12-06T03:00:00Z","status":"FT","decision":"REG","period":3,"clock":null,"home":{"abbreviation":"VAN","score":2,"periods":[0,1,1],"sog":12},"away":{"abbreviation":"DAL","score":5,"periods":[2,2,1],"sog":31}}, "stats": {…} }
/players
{
"data": {
"home": {
"skaters": [
{
"player": {
"id": 991,
"slug": "liam-ohgren",
"name": "Liam Ohgren",
"position": "LW",
"jersey": "92"
},
"goals": 1,
"assists": 0,
"points": 1,
"plus_minus": -1,
"pim": 0,
"sog": 2,
"hits": 1,
"blocks": 0,
"ppg": 1,
"shg": 0,
"gwg": 0,
"fo_won": 0,
"fo_taken": 0,
"giveaways": 1,
"takeaways": 2,
"shifts": 21,
"toi_sec": 1045,
"pp_toi_sec": null,
"sh_toi_sec": null
}
],
"goalies": [
"…"
]
}
}
}
/plays
{
"data": [
{
"seq": 11,
"period": 1,
"time_sec": 0,
"type": "faceoff",
"detail": null,
"team_id": 1,
"player_ids": [
10,
1584
],
"home_score": null,
"away_score": null,
"x": 0,
"y": 0
},
"…"
]
}<?php
$key = getenv('SPORTAPI_KEY');
$ctx = stream_context_create(['http' => ['header' => "X-API-Key: $key\r\n"]]);
$res = json_decode(file_get_contents('https://sportapi.ai/api/hockey/games/3947/events', false, $ctx), true);
foreach ($res['data'] as $e) {
if ($e['type'] !== 'goal') continue;
printf("P%d %s %s %d-%d\n", $e['period'], gmdate('i:s', $e['time_sec']), $e['player']['name'], $e['away_score'], $e['home_score']);
}Keep your API key on the server and never call the API from JavaScript in the browser. Save each answer for a few minutes too, so that page views don't use up your daily limit.
Endpoints, fields and status codes are in the API docs. A free key is on the hockey API page.