Franck Cuny > Games-WoW-Armory > Games::WoW::Armory

Download:
Games-WoW-Armory-0.0.7.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  1
View/Report Bugs
Module Version: 0.0.7   Source   Latest Release: Games-WoW-Armory-0.0.7_1

NAME ^

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

SYNOPSIS ^

    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;

METHOD

fetch_data

Fetch the data, and store the result in $self->{data}

search_character

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:

get_arena_teams

Get arena teams for a player

get_reputation

Get reputation for a player

search_guild

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_team

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;
    }

get_heroic_access

Store in $self->character->heroic_access the list of keys the user can buy for the instances in heroic mode.

BUGS AND LIMITATIONS ^

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.

AUTHOR ^

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

LICENCE AND COPYRIGHT ^

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.

syntax highlighting: