NAME
WebService::Steam - A Perl interface to the Steam community data
SYNOPSIS
use WebService::Steam;
my $user = steam_user 'jraspass';
print $user->name,
' joined steam in ',
$user->registered,
', has a rating of ',
$user->rating,
', is from ',
$user->location,
', and belongs to the following ',
scalar( $user->groups ),
' groups: ',
join( ', ', $user->groups );
EXPORTED METHODS
steam_group
Returns instance(s) of WebService::Steam::Group, can take any combination of group names and IDs.
In scalar context returns the first element of the array.
my $group = steam_group( 'valve' );
my $group = steam_group( 103582791429521412 );
my @groups = steam_group( 'valve', 103582791429521412 );
my @groups = steam_group( [ 'valve', 103582791429521412 ] );
steam_user
Returns instance(s) of WebService::Steam::User, can take any combination of usernames and IDs.
In scalar context returns the first element of the array.
my $user = steam_user( 'jraspass' );
my $user = steam_user( 76561198005755687 );
my @users = steam_user( 'jraspass', 76561198005755687 );
my @users = steam_user( [ 'jraspass', 76561198005755687 ] );