The Undermine Journal is fantastic for a variety of reasons. One of the features of TUJ is realm specific market data via an addon with much more indepth market data than what is available in game. However, utilizing this resource requires manually downloading the up to date information. Thankfully, this manual step is able to be automated. While how to do this is likely trivial for those familiar with programming etc., for the majority of people who play World of Warcraft setting such automation up is black magic. The purpose of this guide is to elucidate how to automate this process for those of you for whom this is not trivial.
This guide will utilize the following utilities:
1) The Undermine Journal
You will need to setup an account on the Undermine Journal and set what server(s) you wish to acquire the realm information from. You can do so here: http://theunderminejournal.com/user.php
2) Python 3.2
Python will be used to create a program which will perform one part of the automation process.
You will need to download the Python 3.2 Installer here:
http://www.python.org/download/releases/3.2/
3) *Windows 7's Task Schduler
This comes with Windows 7 by default.
*There are similar utilities on every operating system, but this guide will use the one on Windows 7
4) The Python Script I wrote to manage this all
You can download this here (it's a drop box link):
http://db.tt/3eeBDvd
Now onto bringing it all together:
Launch a text editor and then open the file downloaded in step 4. In the file there will be $ that you will need to replace with relevant information specific to your installation.
The first $ that is encountered is replaced with the url provided in the settings for your Undermine Journal account, available via the url displayed where it says "Download Your Addon Here" in the profile settings. The profile page where this is located at should look something like this:
http://i.imgur.com/NfYlC.png
You want to copy the url pointed to by the red arrow.
The third $ that is encountered is replaced with the directory that contains your World of Warcraft Addon folder. Once that directory is pasted between the "" you will need to follow every \ shown (after you paste the directory name between the "") with another \
Now that the python file is edited for your particular settings you can stop here, having successfully automated the downloading and unzipping process for your realm data or take it one step further and also have your computer run that python script at a particular time every day or week or whatever you decide upon, which is where the Windows 7 task manager comes into play.
A general guide for setting this up is here:
http://windows.microsoft.com/en-US/w...chedule-a-task
Provided that everything has gone as hoped for, you should now have a program scheduled to run regularly that will download the market information for the realm(s) that you play on for you, which is quite nice for using within addons like TradeskillMaster as seen below:
TSM Crafting
http://i.imgur.com/eZKrI.png
TSM Auctioning
http://i.imgur.com/Bz4FF.png
Erorus explains how the mean is calculated here:
http://consortium.stormspire.net/sho...n-market-price
and the market price here
http://consortium.stormspire.net/sho...price-computed
for those of you interested.
Also note that you are limited to 5 (at the time of this writing) downloads of the market information per day.
