Skip to content

strenkml/nhl-api-wrapper-ts

Repository files navigation

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);

About

Nodejs library for accessing the NHL API

Resources

License

Stars

Watchers

Forks

Releases

No releases published