Created
November 8, 2009 15:13
-
-
Save otsune/229317 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use WebService::Simple; | |
use Data::Dumper; | |
my $nlwnew_version = "0.9.2"; | |
my $nlwnew = WebService::Simple->new( | |
base_url => "http://nlwnewg.appspot.com/getdata", | |
response_parser => 'JSON', | |
params => { version => $nlwnew_version, }, | |
); | |
my $response = $nlwnew->get({url => "master", datefrom => "" }); | |
for my $item (@{$response->parse_response->{comments}}) { | |
print $item->{desc}.' '.$item->{url}."\n"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment