NAME

Net::Gadu - Interfes do biblioteki libgadu.so (part of ekg)

DESCRIPTION

Bardzo wstepna i testowa wersja modulu, ale chyba dziala.

DOWNLOAD

http://krzak.linux.net.pl/perl/Net-Gadu-0.4.tar.gz

METHODS

Dostepne metody :

$gg->login(uin, password);

Polaczenie z serwerem i zalogowanie.

$gg->logoff();

Zakonczenie sesji.

$gg->send_message(receiver_uin, message);

Wysyla wiadomosc pod podany UIN.

$gg->set_available();

Ustawia status na dostepny, podobne funkcje : set_busy(), set_invisible(), set_not_available().

$gg->search($nickname,$first_name,$last_name,$city,$gender,$active)
$gender = ("male","famale","none")
$active = (1,0)

EXAMPLES

        use Net::Gadu;
    
        my $gg = new Net::Gadu;
    
        my $res = $gg->search("","Ania","","","famale",1);
        
        foreach my $a (@{$res}) {
        
    	print $a->{nickname}." ".$a->{uin}." ".$a->{first_name}." ".$a->{last_name}." ".$a->{city}." ".$a->{born}."\n";
        
        }
    
        $gg->login("111111","secretpassword");
    
        $gg->send_message("332323","this is a test");
    
        $gg->set_available();
        
        $gg->logoff();

AUTHOR

Marcin Krzyzanowski krzak@linux.net.pl GG: 42112

SEE ALSO

http://dev.null.pl/ekg/
http://www.gadu-gadu.pl/