NAME
WWW::BackpackTF::MarketItem - Class representing market item information
SYNOPSIS
use WWW::BackpackTF;
use Data::Dumper qw/Dumper/;
use POSIX qw/strftime/;
my $bp = WWW::BackpackTF->new(key => '...');
my @items = $bp->get_market_prices;
my $item = $items[0];
say 'Name: ', $item->name;
say strftime 'Last updated on: %c', localtime $item->last_updated;
say 'Quantity available on market: ', $item->quantity;
say 'Value of item: $', sprintf '%.2f', $item->value / 100;
DESCRIPTION
WWW::BackpackTF::MarketItem is a class representing Steam Community Market price information about an item.
METHODS
- name
-
The name of the item.
- last_updated
-
The timestamp of this information, as seconds since unix epoch.
- quantity
-
How many items of this kind are there on the SCM.
- value
-
The price this item is selling for, in cents (USD 0.01).
SEE ALSO
http://backpack.tf/api/docs/IGetMarketPrices
AUTHOR
Marius Gavrilescu, <marius@ieval.ro>
COPYRIGHT AND LICENSE
Copyright (C) 2014-2016 by Marius Gavrilescu
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 69:
=back without =over