Good day everyone.
I am SQL developer in real life (guild leader and affliction warlock in game if anyone cares), mostly work with SyBase products, have very little experience with C/C++ and close to no experience with PHP (assembled few pages using CMS's) and there is one thing regarding World of Warcraft that I would like to develop (or maybe there is one already but I can't find it): an application that would download items from wowhead.com servers to a local computer, in XML or JSON or similar format, but again I have close to no experience with web services or any other kind of http parsing, however on this forum I found a few programs that are able to do that like
Simulationcraft and
OptiGear, there are even source codes, but they are way to complicated to try to understand them by myself, so I am asking for help of elitist jerks community members.
For beginning I want very simple thing, a c/c++/php or any similar programing language procedure/function that would save info like
http://www.wowhead.com/item=49623&xml to a local variable/file.
UPDATE: It looks I did it using php:
<?php
$xml = simplexml_load_string(file_get_contents('http://www.wowhead.com/item=49623&xml'));
print_r($xml);
?>
However this tooltip doesnt has stats tags in it, only <htmlTooltip> which is not very convenient to use and <jsonEquip> that needs adidtional decoding...
Anyone any ideas how to reach similar result in c/c++? and maybe someone knows how to get multilpe items from wowhead.com, not single one, like
Armor - Items - World of Warcraft? Any help would be appreciated.
P.S. Sorry for my bad English, I am not a native speaker.
P.S.S. Sorry, wrong forum, this should be in
Public Discussion threat, would be great if someone could move it there.