Wow Armory Mining menu

User Tag List

Results 1 to 3 of 3
  1. #1
    garoboldy's Avatar Contributor
    Reputation
    123
    Join Date
    Aug 2007
    Posts
    407
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wow Armory Mining

    I've not done any work with the armory from an xml stand point so I'm curious about a few things.

    How is mass data being pulled currently for statistics and build data without knowing the player name. Is everything still being based around pulling the arena roster list and following it back through guild rosters, then to players? I'm interested in playing around with finding players that meet specific achievement criteria or gear, just for personal bored interest.

    So far I've only seen specific toon search ability and not crawling based setups.

    Anyone worked with this or know more in depth about the data mining source for crawling it.

    FYI I only work in C# / Python anymore as it's what I do at work.

    Wow Armory Mining
  2. #2
    Jadedknight's Avatar Member
    Reputation
    9
    Join Date
    Mar 2008
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can give you a quick example, but to answer your question yes you have to start broad and narrow down to what you want manually through Blizzard's XML. I'll show you a small snippet from a project I am currently working on.

    PHP Code:
    /* Set the user agent to get XML data from Blizzard */
    ini_set("user_agent""Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1");

    function 
    get_battlegroups($link) {
        
    $url "http://www.wowarmory.com/battlegroups.xml";
        
    $xml simplexml_load_file($url);

        foreach (
    $xml->battlegroups->battlegroup as $battlegroup) {
            
    $ladder_url mysqli_real_escape_string($link$battlegroup['ladderUrl']);

            if (!
    mysqli_query($link"INSERT INTO battlegroups (battlegroup_url) VALUES ('$ladder_url')")) {
                
    printf("Error: %s\n"mysqli_sqlstate($link));
            }
        }

    First of all you need to set a user agent to get the xml instead of formated html. Then the function basically grabs a list of every BG and saves it to a database.

    Soon you will find that you are going to run into problems when you want to pull specific achievement/statistic data. To do this you need to append &c=# to the end of the achievement or statistic URL.

  3. #3
    ryx's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "Is everything still being based around pulling the arena roster list and following it back through guild rosters, then to players?"

    Yes, you cant browse from high level except for arena rosters.

    this makes crawlers flawed, as there are level80 guilds that simply dont have anybody in a arena team.

Similar Threads

  1. What is your WoW Armory?
    By Syplex23 in forum World of Warcraft General
    Replies: 7
    Last Post: 08-13-2008, 09:43 AM
  2. WoW Armory images help
    By Demandred in forum World of Warcraft General
    Replies: 0
    Last Post: 07-12-2008, 11:30 AM
  3. WoW Armory Signature
    By Blinkie in forum World of Warcraft General
    Replies: 7
    Last Post: 03-08-2007, 04:25 PM
All times are GMT -5. The time now is 03:58 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search