nhl-api-wrapper-ts
v1.0.0
Published
Node Wrapper library for accessing the NHL API
Downloads
35
Readme
nhl-api-wrapper-ts
A wrapper for the NHL API. Used https://github.com/Zmalski/NHL-API-Reference as a reference for the API.
There may be endpoints that are missing. If you find any, please open an issue or a PR.
Installation
npm install nhl-api-wrapper-ts
Usage
import nhlApi from "nhl-api-wrapper-ts";
const playerInfo = await nhlApi.players.getPlayerInfo({ playerId: 8478402 });
console.log(playerGameLog);