The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DDG::ZeroClickInfo::Spice - DuckDuckGo server side used ZeroClickInfo Spice result class

VERSION

version 1015

SYNOPSIS

  my $zci_spice = DDG::ZeroClickInfo::Spice->new(
    caller => 'DDGTest::Spice::SomeThing',
    call => '/js/spice/some_thing/a%23%23a/b%20%20b/c%23%3F%3Fc',
  );

DESCRIPTION

This is the extension of the WWW::DuckDuckGo::ZeroClickInfo class, how it is used on the server side of DuckDuckGo. It adds attributes to the ZeroClickInfo class which are not required for the "output" part of it.

It is also a DDG::IsControllable.

ATTRIBUTES

call

The URL on DuckDuckGo that should be called for the spice. It is not required to set a call.

AUTHOR

DuckDuckGo <open@duckduckgo.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by DuckDuckGo, Inc. https://duckduckgo.com/.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004