NAME
WebService::Steam - An OO Perl interface to the Steam community data
SYNOPSIS
use WebService::Steam::User;
my $user = WebService::Steam::User->get( 'jraspass' );
print $user->name,
' joined steam in ',
$user->registered,
', has a rating of ',
$user->rating,
', is from ',
$user->location,
', and belongs to the following ',
$user->group_count,
' groups: ',
join ', ', $user->groups;
METHODS
Class Methods
get
Returns an instance of a Steam user, can take any combination of Steam usernames and IDs.
In scalar context returns the first element of the array.
my $user = WebService::Steam::User->get( 'jraspass' );
my $user = WebService::Steam::User->get( 76561198005755687 );
my @users = WebService::Steam::User->get( 'jraspass', 76561198005755687 );
my @users = WebService::Steam::User->get( [ 'jraspass', 76561198005755687 ] );
Instance Methods
banned
Returns a boolean indicating whether or not the user has received a VAC ban.
custom_url
headline
id
limited
location
name
nick
online
Returns a boolean indicating whether or not the user is currently online.
rating
registered
A DateTime representing when the user registered their Steam account.