NAME

WWW::DuckDuckGo::Icon - A DuckDuckGo Icon definition

VERSION

version 0.007

SYNOPSIS

use WWW::DuckDuckGo;

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

for (@{$zci->results}) {
  print "Result URL: ".$_->first_url->as_string."\n" if $_->has_first_url;
  print "Result Icon: ".$_->icon->url->as_string."\n" if $_->has_icon and $_->icon->has_url;
}

DESCRIPTION

This package reflects the result of a zeroclickinfo API request.

METHODS

has_url

url

Gives back a URI::http

has_width

width

has_height

height

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@raudssus.de>

  • Michael Smith <crazedpsyc@duckduckgo.com>

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.