View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
WATANABE Hiroaki > Net-NicoVideo > Net::NicoVideo::UserAgent

Download:
Net-NicoVideo-0.28.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.28   Source  

NAME ^

Net::NicoVideo::UserAgent - Decorate LWP::UserAgent with requests to access to Nico Nico Douga

SYNOPSIS ^

    use LWP::UserAgent;
    use Net::NicoVideo::UserAgent;
    
    my $ua = Net::NicoVideo::UserAgent->new(
        LWP::UserAgent->new # or other custom UA by your own needs
        );

    # $flv is a Net::NicoVideo::Response::Flv
    my $flv = $ua->request_flv("smNNNNNNNN");

    # Net::NicoVideo::Response is decorated with HTTP::Response
    $flv->is_success

DESCRIPTION ^

Decorate LWP::UserAgent with requests to access to Nico Nico Douga.

SEE ALSO ^

Net::NicoVideo::Decorator Net::NicoVideo::Request Net::NicoVideo::Response

syntax highlighting: