NAME

Sport::Analytics::NHL::Report::Player - Class for the Player JSON report

SYNOPSYS

Class for the Boxscore JSON report.

    use Sport::Analytics::NHL::Report::Player;
    my $report = Sport::Analytics::NHL::Report::Player->new($json)
    $report->process();

METHODS

new

Create the Player object with the JSON.

process

Process the Player into the object compatible with further processing, etc.

get_career_phase_index

Get the index of a career phase - regular or playoffs

 Argument: the phase substructure of th eobject
 Returns: 0 for regular, 1 playoffs, dies otherwise
normalize_bio

Normalize and standardize the bio parts of the NHL player report.

 Arguments: none, works on the object itself
 Returns: void, the object is modified.
normalize_career

Normalize and standardize the career parts of the NHL player report.

 Arguments: none, works on the object itself
 Returns: void, the object is modified.
parse_bio

Parse the bio parts of the NHL player report.

 Arguments: none, works on the object itself
 Returns: void, the object is modified.
parse_career

Parse the career parts of the NHL player report.

 Arguments: none, works on the object itself
 Returns: void, the object is modified.

AUTHOR

More Hockey Stats, <contact at morehockeystats.com>

BUGS

Please report any bugs or feature requests to contact at morehockeystats.com, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Sport::Analytics::NHL::Report::Player. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Sport::Analytics::NHL::Report::Player

You can also look for information at: