The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 0.016

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