NAME
WebService::Diffbot - Diffbot Perl API
VERSION
version 0.003
DESCRIPTION
This is the (unofficial) Diffbot Perl API - see http://www.diffbot.com for more info.
Warning, currently it supports only the Article and Frontpage API (v2).
SYNOPSYS
use WebService::Diffbot;
my $diffbot = WebService::Diffbot->new(
token => 'mytoken',
url => 'http://www.diffbot.com'
);
# Article API
my $article = $diffbot->article;
print "url: $article->{url}";
print "text: $article->{text}";
...
# Frontpage API
my $frontpage = $diffbot->frontpage;
...
# another Article API - pass new url to method
$article = $diffbot->article( url => 'http://www.youtube.com' );
print "url: $article->{url}";
print "text: $article->{text}";
...
SEE ALSO
Net::DiffBot for old API
AUTHOR
Cesare Gargano <garcer@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Cesare Gargano.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.