NAME
WWW::ARDB::Result::Item - Item result object for WWW::ARDB
VERSION
version 0.002
SYNOPSIS
my $item = $api->item('acoustic_guitar');
print $item->name; # "Acoustic Guitar"
print $item->rarity; # "legendary"
print $item->type; # "quick use"
print $item->value; # 7000
print $item->icon_url; # Full URL to icon
DESCRIPTION
Result object representing an item from the ARC Raiders Database. Created via WWW::ARDB methods like items() and item().
id
String. Unique identifier for the item (e.g., acoustic_guitar).
name
String. Display name of the item.
description
String or undef. Item description text.
rarity
String or undef. Rarity level: legendary, epic, rare, uncommon, common.
type
String or undef. Item category (e.g., quick use, weapon, armor).
value
Number or undef. Item value in credits.
weight
Number or undef. Item weight.
stack_size
Integer or undef. Maximum stack size for the item.
icon
String or undef. Path to icon image (use icon_url() for full URL).
found_in
ArrayRef of Strings. Locations where this item can be found.
maps
ArrayRef. Maps where this item appears.
breakdown
ArrayRef of HashRefs. Components obtained when breaking down this item. Only populated for detail endpoint (item($id)).
crafting
ArrayRef of HashRefs. Materials required to craft this item. Only populated for detail endpoint (item($id)).
updated_at
String or undef. ISO 8601 timestamp of last update.
from_hashref
my $item = WWW::ARDB::Result::Item->from_hashref($data);
Class method. Constructs an Item object from API response data (HashRef).
icon_url
my $url = $item->icon_url;
Returns the full URL to the item's icon image, or undef if no icon is set. Automatically prepends https://ardb.app to relative paths.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-ardb/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) 2026 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.