NAME

WWW::Wave::Sniff - Sniff info from your Google Wave Inbox

SYNOPSYS

use WWW::Wave::Sniff;

my $ws = WWW::Wave::Sniff->new( username => 'bof@gmail.com', password => '1234' );

print 'You have : '. $ws->unread_count . ' unread waves.';

DESCRIPTION

Crude wave inbox sniffer. Logs in to your google wave account grabs the JSON data and uses it to check your unread wave count.

RELIABILITY WARNING

This library relies on google's wacky minified JSON format not changing, so it could actually break at any time!

CONSTRUCTOR

REQUIRED PARAMETERS

username

Your google wave username.

password

Your google wave password.

OPTIONAL PARAMETERS

user_agent

An LWP::UserAgent to use instead of making our own.

METHODS

unread_count

Probes your wave account and extracts the number of unread waves.

Should hopefully die with a useful message on errors.

THANKS TO..

The code of "thatsmith"'s wave notifier plugin for Firefox which helped me navigate google's JSON data.

AUTHOR

Joe Higton

COPYRIGHT

Copyright 2009 Joe Higton

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.