--- title: "WWW::XBoxLive - Perl module to get and parse an XBox Live Gamercard" date: 2012-01-02 categories: ["Perl","Perl-XBoxLive"] source: https://andrew-jones.com/blog/wwwxboxlive-perl-module-to-get-and-parse-an-xbox-live-gamercard/ --- # WWW::XBoxLive - Perl module to get and parse an XBox Live Gamercard I have just published [WWW::XBoxLive](https://metacpan.org/module/WWW::XBoxLive), a new Perl module to get and parse an XBox Live Gamercard (i.e. [http://gamercard.xbox.com/en-US/BrazenStraw3.card](http://gamercard.xbox.com/en-US/BrazenStraw3.card)). Using it is pretty simple, as follows: ``` perl 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; } ``` For more information, see the documentation on the [CPAN](https://metacpan.org/module/WWW::XBoxLive), or browse the source on [GitHub](https://github.com/andrewrjones/perl5-WWW-XBoxLive).