Technology Programming

How to read character information from the World of Warcraft servers.

Lets say that you, like me, are addicted to World of Warcraft, and you decide that you'd like to track the progress of your characters, or maybe your friends characters, on your personal website. You could hard code all that data, updating whenever you have the time, or with some simple Perl scripting magic, you could automate the whole process!

First, like all non-standard Perl modules, you will need to install Games::WoW::Armory from CPAN, and then you can include it at the top of your Perl programs with the use statement:

use Games::WoW::Armory; After that, we create a new WoW object and do a simple search:
my $wow = Games::WoW::Armory->new(); $wow->search_character( { realm => 'YOUR_REALM', character => 'YOUR_CHARACTER', country => 'SERVER_COUNTRY_CODE'} ); Once the lookup is complete, you can print out all kinds of interesting data about your character and use it to automatically track your progress:
print $wow->character->name; print $wow->character->race; print $wow->character->level; There's even a guild search function for tracking your guilds members. Once again, why take the time to do things that can easily be automated with a little Perl scripting! Module Links:
  1. Games::WoW::Armory on CPAN
  2. Games::WoW::Armory Documentation
  3. Franck Cuny

Related posts "Technology : Programming"

How LiteData Creates Better Sites For Their Clients

Programming

Contrastive analysis of methodologies of test design for functional testing

Programming

A Proper Diet That Is Filled With Healthy Fats Can Help You Lose Weight

Programming

How to Create an Array of Objects in PHP

Programming

How to read character information from the World of Warcraft servers.

Programming

7 Ways To Master Ayurvedic Medicine For Constipation Without Breaking A Sweat

Programming

Web Design Company Kolkata for Seamless Ecommerce Site

Programming

What Happened to "Borland Delphi"? What is CodeGear? What is Embarcadero?

Programming

How to Send Pages to iFrame

Programming

Leave a Comment