nhlpimg
v1.0.4
Published
Finds NHL Player headshot images.
Downloads
3
Readme
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.