Warcraft Armory

Warcraft Armory allows you to easily query the World of Warcraft Armory site to retrieve information about your character.

Both US and EU servers are supported.

Written by Ariejan de Vroom

Copyright 2008 Ariejan de Vroom

Disclaimer

This is the usual dislaimer. I’m not liable when you use this gem. Using it may be against the current (or future) terms of service from Blizzard or WoWarmory.com.

Dependencies

WarcraftArmory depends on the hpricot gem version >= 0.6.

gem install hpricot

Download and installation

Simply install the RubyGem and require it in your project. If you’re on rails, require it in your config/environment.rb.

gem install ariejan-warcraft_armory --source http://gems.github.com

And require it when you need it:


require 'rubygems'
require 'warcraft_armory'

Add the following to your environment.rb if you want to use Rails 2.1’s dependency manager (which is highly recommended):

config.gem "ariejan-warcraft-armory",
           :lib    => "warcraft-armory",
           :source => "http://gems.github.com"

Usage

character = Warcraft::Amory.find(:eu, 'Aszune', 'Adries')

This will either return a Warcraft::Character object or nil when not character information was found.

More Information

Ariejan.net

Blizzard WoW Armory US WoW Armory EU