Created
February 11, 2009 16:31
-
-
Save yusukebe/62102 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get videos list by channel from woopie.jp | |
use WebService::Simple; | |
my $channel_id = shift || '6212'; | |
my $woopie = WebService::Simple->new( | |
base_url => "http://www.woopie.jp/api/getChannelVideos", | |
response_parser => 'JSON', | |
); | |
my $res = $woopie->get( { id => $channel_id, count => 99, start => 0 } ); | |
my $content = $res->parse_response; | |
use YAML; | |
print Dump $content; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment