1.0.0 • Published 4 years ago

@andrewlively/nhlapi v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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!

1.0.0

4 years ago

0.0.2

5 years ago

0.0.1

5 years ago