NAME

WWW::Picnic::Result::Search - Picnic search results collection

VERSION

version 0.100

SYNOPSIS

my $search = $picnic->search('haribo');
say "Found ", $search->total_count, " results";

for my $item ($search->all_items) {
    say $item->name, " - ", $item->display_price;
}

DESCRIPTION

Container for search results from the Picnic API. Extracts selling units from the deeply nested response structure.

items

Arrayref of WWW::Picnic::Result::SearchResult objects extracted from the search response.

all_items

Returns list of all search result items.

total_count

Returns total number of items found.

first_group_id

Returns the main search entity (usually matches the search term).

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-picnic/issues.

IRC

You can reach Getty on irc.perl.org for questions and support.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2025 by Torsten Raudssus.

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