Net::TribalWarsMap::API::TribeLookup::Result - A single tribe search result
version 0.1.0
id
members
name
oda
oda_rank
odd
odd_rank
points
rank
tag
total_points
from_data_line
Inflates a ::Result from a decoded list.
::Result
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
_field_names
Kent Fredric <kentfredric@gmail.com>
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.
To install Net::TribalWarsMap::API::TribeLookup, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::TribalWarsMap::API::TribeLookup
CPAN shell
perl -MCPAN -e shell install Net::TribalWarsMap::API::TribeLookup
For more information on module installation, please visit the detailed CPAN module installation guide.