How to Retrieve Player Stats from the NHL's undocumented REST APIby@nick_kinlen
15,528 reads

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

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

Seeking Frontend role NYC/FL


Receive Stories from @nick_kinlen

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!