NAME
WWW::Picnic::Result::Suggestions - Collection of Picnic search suggestions
VERSION
version 0.101
SYNOPSIS
my $suggestions = $picnic->get_suggestions('har');
say "Found ", $suggestions->total_count, " suggestions";
for my $suggestion ($suggestions->all_suggestions) {
say $suggestion->{suggestion};
}
DESCRIPTION
Container for the search suggestions returned by the suggest endpoint. The API returns a plain list, reachable via "all_suggestions".
suggestions
Arrayref of suggestion entries from the API response.
all_suggestions
Returns list of all suggestion entries (as opposed to arrayref).
total_count
Returns total number of suggestions.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-picnic/issues.
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) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudss.us/.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.