NAME

WWW::MetaForge::ArcRaiders::Result::Item - Item result object

VERSION

version 0.001

SYNOPSIS

my $items = $api->items(search => 'Ferro');
for my $item (@$items) {
    say $item->name . " (" . $item->rarity . ")";
    say "  Weight: " . $item->weight if $item->weight;
}

DESCRIPTION

Represents an item from the ARC Raiders game (weapons, mods, materials, consumables).

ATTRIBUTES

id

Item identifier (string slug).

name

Human-readable item name.

slug

URL-safe identifier.

category

Item type (e.g., "Weapon", "Material", "Consumable").

rarity

Item rarity (e.g., "Common", "Rare", "Legendary").

description

Item description text.

stats

HashRef of item statistics (damage, range, etc.).

weight

Item weight value.

stack_size

Maximum stack size for stackable items.

base_value

Base monetary value.

crafting_requirements

ArrayRef of crafting ingredients: [{ item = "Name", quantity => 5 }]>.

sold_by

ArrayRef of traders that sell this item.

used_in

ArrayRef of recipes/crafts using this item.

compatible_with

ArrayRef of compatible items.

recycle_yield

HashRef of materials from recycling.

last_updated

ISO timestamp of last data update.

METHODS

from_hashref

my $item = WWW::MetaForge::ArcRaiders::Result::Item->from_hashref(\%data);

Construct from API response. Handles field name mapping.

SUPPORT

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/Getty/p5-www-metaforge

git clone https://github.com/Getty/p5-www-metaforge.git

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.