NAME

Net::TribalWarsMap::API::TribeLookup::Result - A single tribe search result

VERSION

version 0.1.0

METHODS

id

members

name

oda

oda_rank

odd

odd_rank

points

rank

tag

total_points

from_data_line

Inflates a ::Result from a decoded list.

my $instance = $class->from_data_line( $id , $total_points, ... );

Note: Upstream have their data in the following form:

{
    "$id": [ $total_points , ... ],
    "$id": [ $total_points , ... ],
}

While this function takes:

"$id", $total_points , ...

od_ratio

od_point_ratio

avg_od

avg_oda

avg_odd

avg_points

ATTRIBUTES

id

members

name

oda

oda_rank

odd

odd_rank

points

rank

tag

total_points

PRIVATE METHODS

_field_names

AUTHOR

Kent Fredric <kentfredric@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.