NAME

WWW::Picnic::Result::Categories - Collection of Picnic store categories

VERSION

version 0.101

SYNOPSIS

my $categories = $picnic->get_categories;
say "Found ", $categories->total_count, " categories";

for my $category ($categories->all_categories) {
    say $category->{name};
}

DESCRIPTION

Container for the product categories returned by the store landing (my_store) endpoint. Provides access to the list of category entries.

catalog

Arrayref of category entries from the store landing response.

all_categories

Returns list of all category entries (as opposed to arrayref).

total_count

Returns total number of categories.

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.