The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::XBoxLive - Get XBox Live Gamercard information

VERSION

version 1.123160

SYNOPSIS

  my $xbox_live = WWW::XBoxLive->new();

  my $gamercard = $xbox_live->get('BrazenStraw3');

  say $gamercard->name;
  say $gamercard->bio;

  for my $game (@{ $gamercard->recent_games }){
    say $game->title;
    say $game->last_played;
  }

DESCRIPTION

This is a module to get and parse an XBox Live Gamercard (i.e. http://gamercard.xbox.com/en-US/BrazenStraw3.card).

METHODS

new(region => 'en-US')

Create a new WWW::XBoxLive object. Optionally takes a region argument, which defaults to 'en-US'.

get_gamercard( $gamertag )

Get a gamercard. Returns an WWW::XBoxLive::Gamercard object.

SEE ALSO

CREDITS

Jason Clemons wrote a PHP version, which helped me write this version. It is available at https://github.com/JBlaze/Xbox-Gamercard-Data.

AUTHOR

Andrew Jones <andrew@arjones.co.uk>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Andrew Jones.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.