@andrewlively/nhlapi
v1.0.0
Published
Client for NHL Stats API
Downloads
2
Readme
nhlapi
Client for NHL Stats API
Example
import { Team, TEAMS } from "@andrewlively/nhlapi";
// ...
const blueJackets = new Team(TEAMS.COLUMBUS_BLUE_JACKETS);
const roster = await blueJackets.getRoster();
const schedule = await blueJackets.schedule({
startDate: new Date(2018, 0, 1),
endDate: new Date(2018, 0, 31),
season: "20172018"
});
// ...
Thanks to @dword4 for helping document the available endpoints!