GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Plurk(3) User Contributed Perl Documentation Net::Plurk(3)

Net::Plurk - A perl interface to Plurk API

Version 0.11

Quick summary of what the module does.

Perhaps a little code snippet.

    use Net::Plurk;
    my $key = $CONSUMER_KEY;
    my $secret = $CONSUMER_SECRET;
    my $access_token = $ACCESS_TOKEN
    my $access_secret = $ACCESS_TOKEN_SECRET
    my $p = Net::Plurk->new(consumer_key => $key, consumer_secret => $secret);
    my $p->authorize(access_token => $access_token,
        access_token_secret => $access_secret)
    my $profile = $p->get_own_profile();
    $p->add_events(
        on_new_plurk => sub {
            my $plurk = shift;
            use Data::Dumper; warn Dumper $plurk;
        },
        on_private_plurk => sub {
            my $plurk = shift;
            # blah
        },
        );
    $p->listen;
    my $json = $p->callAPI( '/api');
    ...

A list of functions that can be exported. You can delete this section if you don't export anything, such as for a purely object-oriented module.

Everything from here

return errorcode

return errormsg

authorize with access token/secret

Everything from here

given nick_name, return unique_id

given unique_id, return nick_name

call /Profile/getPublicProfile

call /Profile/getOwnProfile

call /Polling/getPlurks arguments => offset: Return plurks newer than offset, formatted as 2009-6-20T21:55:34.

    return user's karma, or specify user => 'who'

    return 1 if followed someone, 0 otherwise (see errormsg)

    return 1 if unfollowed someone, 0 otherwise (see errormsg)

    add_plurk ($content, $qualifier %opt)
    %opt: limited_to, no_comment, lang

    get_plurk ($plurk_id)
    $plurk_id can be base 36 encoded, or not

Cheng-Lung Sung, "<clsung at cpan.org>"

Please report any bugs or feature requests to "bug-net-plurk at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Plurk>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.

    perldoc Net::Plurk

You can also look for information at:

  • RT: CPAN's request tracker

    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Plurk>

  • AnnoCPAN: Annotated CPAN documentation

    <http://annocpan.org/dist/Net-Plurk>

  • CPAN Ratings

    <http://cpanratings.perl.org/d/Net-Plurk>

  • Search CPAN

    <http://search.cpan.org/dist/Net-Plurk/>

Copyright 2009~2011 Cheng-Lung Sung, all rights reserved.

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

2011-05-28 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.