WWW::Stickam::API::User::Video - User/Video API


WWW-Stickam-API documentation Contained in the WWW-Stickam-API distribution.

Index


Code Index:

NAME

Top

WWW::Stickam::API::User::Video - User/Video API

SYNOPSYS

Top

 my $api = WWW::Stickam::API->new();
 if( $api->call('User/Video' , { user_name => 'stickam' , page => 1 , per_page => 2 } ) ) {
    print Dumper $api->get();
    print $api->get_XML();
    print $api->get_JSON();
 }
 else {
    print $api->error ;
 }

METHOD

Top

uri

SEE ALSO

Top

http://labs.stickam.jp/api/#user-video

AUTHOR

Top

Tomohiro Teranishi<tomohiro.teranishi@gmail.com>


WWW-Stickam-API documentation Contained in the WWW-Stickam-API distribution.

package WWW::Stickam::API::User::Video;

use strict;
use warnings;
use base qw/WWW::Stickam::API::Base/;


sub uri {
    my $s     = shift;
    my $args  = shift;
    my $user_name = $args->{user_name};
    die 'You must set user name ' unless $user_name;
    delete $args->{user_name};
    my $uri = "http://api.stickam.com/api/user/$user_name/video/";
}


1;