Skip to content

Instantly share code, notes, and snippets.

@yusukebe
Created February 11, 2009 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yusukebe/62102 to your computer and use it in GitHub Desktop.
Save yusukebe/62102 to your computer and use it in GitHub Desktop.
# 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