NAME

WWW::DuckDuckGo::Link - A DuckDuckGo Link definition

VERSION

version 0.016

SYNOPSIS

use WWW::DuckDuckGo;

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

for (@{$zci->related_topics}) {
  print "Related Topic URL: ".$_->first_url."\n" if $_->has_first_url;
}

DESCRIPTION

This package reflects the result of a zeroclickinfo API request.

METHODS

has_result

result

has_first_url

first_url

Gives back a URI::http

has_icon

icon

Gives back an WWW::DuckDuckGo::Icon object.

has_text

text

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

AUTHORS

  • Torsten Raudssus <torsten@raudss.us> https://raudss.us/

  • Michael Smith <crazedpsyc@duckduckgo.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by DuckDuckGo, Inc..

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