NAME

WWW::DuckDuckGo::ZeroClickInfo - A DuckDuckGo Zero Click Info definition

VERSION

version 0.003

SYNOPSIS

use WWW::DuckDuckGo;

my $zci = WWW::DuckDuckGo->new->zci('duck duck go');

print "Heading: ".$zci->heading if $zci->has_heading;

print "The answer is: ".$zci->answer if $zci->has_answer;

DESCRIPTION

This package reflects the result of a zeroclickinfo API request.

METHODS

has_abstract

abstract

has_abstract_text

abstract_text

has_abstract_source

abstract_source

has_abstract_url

abstract_url

Gives back a URI::http

has_image

image

Gives back a URI::http

has_heading

heading

has_answer

answer

has_answer_type

answer_type

has_definition

definition

has_definition_source

definition_source

has_definition_url

definition_url

Gives back a URI::http

Gives back an array reference of WWW::DuckDuckGo::Link objects.

has_results

results

Gives back an array reference of WWW::DuckDuckGo::Link objects.

has_type

type

type_long

Gives back a longer version of the type.

METHODS

SUPPORT

IRC

Join #duckduckgo on irc.freenode.net. Highlight Getty for fast reaction :).

Repository

http://github.com/Getty/p5-www-duckduckgo
Pull request and additional contributors are welcome

Issue Tracker

http://github.com/Getty/p5-www-duckduckgo/issues

AUTHOR

Torsten Raudssus <torsten@raudssus.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Raudssus Social Software.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.