1.0.4 • Published 10 years ago

nhlpimg v1.0.4

Weekly downloads
6
License
Apache-2.0
Repository
github
Last release
10 years ago

NHL Player Image Grabber :trophy:

NPM/Node CLI utility that finds NHL Player headshot images.

Usage

$ sudo npm install -g nhlpimg
$ nhlpimg "FIRST_NAME LAST_NAME"

Example

$ nhlpimg "Sidney Crosby"
» https://nhl.bamcontent.com/images/headshots/current/168x168/8471675.png

$ nhlpimg "Wayne Gretzky"
» https://nhl.bamcontent.com/images/headshots/current/168x168/8447400.png

Output

  • [URL] Player image found.

  • * [URL] Second name-matching image was found (after first match returned a default image).

  • DEF_IMAGE_GOALIE Default goaltender image was found (https://goo.gl/r60Q8q).

  • DEF_IMAGE_SKATER Default skater image was found (https://goo.gl/CJSjvn).

  • CONNECTION_ERROR Error connecting/scanning NHL website.

  • NOT_FOUND Image was not found.

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago