1Net-Plurk 2 3This module can be treat like a wrapper of Plurk (www.plurk.com) OAuth API. 4User who use Net-Plurk are required to apply their own tokens. 5See http://www.plurk.com/API/2 for detailed information. 6 7The simplest usage: 8 9 use Net::Plurk; 10 my $p = Net::Plurk->new(consumer_key => $CONSUMER_KEY, consumer_secret => $CONSUMER_SECRET); 11 $p->authorize(token => $ACCESS_TOKEN, token_secret => $ACCESS_TOKEN_SECRET); 12 my $profile = $p->get_own_profile(); 13 ... 14 # return raw output (JSON) 15 $p->raw_output(1); 16 my $json = $p->get_own_profile(); 17 ... 18 # or call API directly 19 my $json = $p->callAPI( '/Polling/getUnreadCount', %args); 20 ... 21 22 23INSTALLATION 24 25To install this module, run the following commands: 26 27 perl Makefile.PL 28 make 29 make test 30 make install 31 32SUPPORT AND DOCUMENTATION 33 34After installing, you can find documentation for this module with the 35perldoc command. 36 37 perldoc Net::Plurk 38 39You can also look for information at: 40 41 github issue tracker 42 http://github.com/clsung/net-plurk/issues 43 44 RT, CPAN's request tracker 45 http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Plurk 46 47 AnnoCPAN, Annotated CPAN documentation 48 http://annocpan.org/dist/Net-Plurk 49 50 CPAN Ratings 51 http://cpanratings.perl.org/d/Net-Plurk 52 53 Search CPAN 54 http://search.cpan.org/dist/Net-Plurk/ 55 56 57COPYRIGHT AND LICENCE 58 59Copyright (C) 2009~2011 Cheng-Lung Sung 60 61This program is free software; you can redistribute it and/or modify it 62under the same terms as Perl itself. 63 64