paint-brush
How to Retrieve Player Stats from the NHL's undocumented REST APIby@nick_kinlen
15,745 reads
15,745 reads

How to Retrieve Player Stats from the NHL's undocumented REST API

by Nick Kinlen3mSeptember 18th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How to Retrieve Player Stats from the NHL's undocumented REST API I've managed to send an AJAX request and retrieve all kinds of NHL related stats from the semi-secret NHL API. The API has a stats query that can accept a variety of values that return stats, and a season query specifying which season we want to retrieve data for. The easiest way to find any player's information is to walk through the team and roster endpoints, retrieve the team's ID and roster link for that player.

Company Mentioned

Mention Thumbnail
featured image - How to Retrieve Player Stats from the NHL's undocumented REST API
Nick Kinlen HackerNoon profile picture
Nick Kinlen

Nick Kinlen

@nick_kinlen

Seeking Frontend role NYC/FL

Learn More
LEARN MORE ABOUT @NICK_KINLEN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Nick Kinlen HackerNoon profile picture
Nick Kinlen@nick_kinlen
Seeking Frontend role NYC/FL

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite