
Games::WoW::Armory - Access to the WoW Armory

use Games::WoW::Armory;
my $armory = Games::WoW::Armory->new();
$armory->search_character( { realm => 'Elune',
character => 'Aarnn',
country => 'EU } );
print $armory->character->name;
print $armory->character->race;
print $armory->character->level;
Fetch the data, and store the result in $self->{data}
Search a character. Required params:
realm | character | country
realm : name of the realm
character : name of a character
country : name of the country (EU|US)
List of accessor for character:
foreach my $team (@{$armory->character->arenaTeams}){
print $team->name;
foreach my $char (@{$team}){
print $char->name . " " . $char->race;
}
}
foreach my $key ( @{ $armory->character->heroic_access } ) {
print "Have access to the $key.\n";
}
Get arena teams for a player
Get reputation for a player
Search for a guild. required params :
realm | guild | country
realm : name of the realm
guild : name of the guild
country : name of the country (EU|US)
List of accessor for guild:
foreach my $member (@{$armory->guild->members}){
print $member->name;
}
Search for a team. required params :
team | ts | battlegroup | country
battlegroup : name of the battlegroup
ts : type (2vs2 | 3vs3 | 5vs5) juste the number (eg: ts => 5)
team : name of the team
country : name of the country (EU|US)
List of accessor for team:
foreach my $member (@{$armory->team->members}){
print $member->name;
}
Store in $self->character->heroic_access the list of keys the user can buy for the instances in heroic mode.

Please report any bugs or feature requests to bug-games-wow-armory@rt.cpan.org, or through the web interface at http://rt.cpan.org.

franck cuny <franck.cuny@gmail.com> Andrew Yochum <andrewyochum@gmail.com>

Copyright (c) 2007, franck cuny <franck.cuny@gmail.com>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.