Jonathan Rockway > Weewar > Weewar::HQ

Download:
Weewar-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Weewar::HQ - your weewar "headquarters"

SYNOPSIS ^

   my $hq = Weewar::HQ->new({ user => 'username',
                              key  => 'api key',
                           });

   my @games   = $hq->games; # my games
   my @need_me = $hq->in_need_of_attention; # games that need my attention

METHODS ^

new({ user => $username, key => $api_key })

Create a new instance and populate it from the Weewar web service. user and key are required.

games

Returns a list of Weewar::Games that are in your headquarters.

in_need_of_attention

Returns a list of <Weewar::Game>s that need your attention.

SEE ALSO ^

See Weewar for more information.

syntax highlighting: