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

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

tldt arrow
Read on Terminal Reader🖨️
JS🚫

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

Learn More
LEARN MORE ABOUT @NICK_KINLEN'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa