XML/SOAP/WebServices Export

Suggestions and requests for new features
Posts: 18

Re: XML/SOAP/WebServices Export

Post#51 » Wed Mar 03, 2010 9:34 am

grokknar wrote:Looking into the issue suggests that cross domain protections are causing the issue and that Safari is probably behaving incorrectly.

That is exactly where JSONP comes into play.. I suggest you take a look at WowPhpToolsWebService (it has nothing to do with php.. as its aimed at javascript).

Posts: 2

Re: XML/SOAP/WebServices Export

Post#52 » Sun Mar 07, 2010 11:13 pm

crushzilla wrote:WowPhpTools
This project aims at bringing a standard to fetch data from the Armory and Wow-heroes.com using PHP. For now there are just two methods implemented, one to fetch data specific for one character and one for fetching a full guildroster (for wow-heroes just the guildroster part).
It should be fairly easy to extend it to support the other features the Armory offers.



Excuse my English, I'm a French user :)
I'm searching for a solution to display character wow-heroes gear score on our raid manager. This score would be displayed juste after character name, like this : Tchac (3065).

It seems that WowPhpTools should contain the methods taht will help me to do that... But I'm completly new to Php5. Could you, please, give me a PHP file code example using this class to get a character data ?
For example, one could get data for :
- zone : europe
- realm : kirin tor
- guild : freres de guerre
- character : tchac

I'm familiar with "old" PHP4 and I can manage to parse an XML block of data. I simply need some help to get such data :-)

Thanks for your help !

Posts: 2

Re: XML/SOAP/WebServices Export

Post#53 » Mon Mar 08, 2010 8:05 pm

Code: Select all


require_once 'Wowheroes.php';

$whmanager = new WowPhpTools_Wowheroes;

echo "getGuildRosterUrl : <br>".$whmanager->getGuildRosterUrl("kirin tor", "Freres de Guerre") ;
echo "<br><br>";

$xmlOutput = $whmanager->getGuild("kirin tor", "Freres de Guerre");
foreach ($xmlOutput->guild as $guild) {
  foreach ($guild->character as $character ) {
    print "character  : {$character['name']} ({$character['score']})<br />\n";


This sample code would produce something like that :

getGuildRosterUrl :
http://xml.wow-heroes.com/xml-guild.php ... +De+Guerre

character : Chaldan (3163)
character : Zarlo (3156)
character : Crabok (3138)
character : Jesterian (3118)
character : Asaxis (3111)
character : Elhyanna (3111)
character : Vardeck (3090)
character : Malhia (3086)
character : Blackwing (3068)
character : Lamassu (3058)
character : Allandil (3056)
character : Tchac (3053)
character : Missah (3049)
character : Riana (3049)
character : Orcelias (3033)
character : Sylphilis (3032)

So I can get the gear score for each character of the guild.
Such solution is pretty good : I've just to parse it and store it in my database. I would prefer to get directly a character gear score rather that parsing all my guild characters, but it is better than nothing... Thanks ;)

Posts: 6

Re: XML/SOAP/WebServices Export

Post#54 » Tue Mar 09, 2010 12:01 pm

Great, with this I can finnish my raidplanning software, thanks alot WoW-Heroes

Posts: 6

Re: XML/SOAP/WebServices Export

Post#55 » Mon Mar 15, 2010 12:09 pm

Hmm, I will need to create an armoryintegration aswell.

Since the XML data I get back will not allow me to see individual placed talents, and my software catagorizes members as (meleeDPS, rangeDPS, healers, tanks)

And since feral druids can be both melee DPS and tanks this will cause a problem for the integration :/

I need to look at each inbdevidul talent tree to solve this matter, and based on what talents they placed I can determen their role :D

Posts: 9

Re: XML/SOAP/WebServices Export

Post#56 » Thu Mar 18, 2010 6:13 pm

Xiro wrote:It appears that the service is currently down. Also, just curious, but I've written a Joomla Component to grab, cache, and display the guild roster using the information wow-heroes. Would anyone else be interested in something like this?

I am.

If you have this done and ready, it would save me a lot of hassle.

thanks in advance (i fear i might be a little late ;))

Posts: 3

Re: XML/SOAP/WebServices Export

Post#57 » Mon Mar 22, 2010 3:28 pm

Is there any opportunity to have the date a character is first recognised as being a member of the guild to be recorded and pushed out via this export????

It would help to identify which members joined and on what day for attendence and obviously new players joining the guild.

Posts: 9

Re: XML/SOAP/WebServices Export

Post#58 » Mon Mar 22, 2010 7:55 pm

Hi there,

i'm thinking about creating qomething for joomla / phpraider: a component would fetch the content of the guild roster once a day and then use it to display in phpraider / joomla as additional information.

the issue i have right now is that i can't seem to get the url working properly with my guildname (there are special chars).

Øgma Tuatha does return result (as opposed to "wrong guild" when you input garbage), but these people returned, they are not from my guild :)

thanks to shed some light on this

edit :
http://wow-heroes.com/get_guild_list.ph ... mp=1231654
works fine.
http://xml.wow-heroes.com/xml-guild.php ... gma+Tuatha
doesn't work, and i get no luck using %20 instead of "+" for spaces
i'm copying this post in the bug section.
edit3: bug is fixed. thanks Alex

Posts: 12

Re: XML/SOAP/WebServices Export

Post#59 » Mon Mar 29, 2010 11:22 pm

rayFX wrote:
rayFX wrote:
Milagros wrote:There is no such option available at the moment (for only 1 character). If you just need basic character info, you can fetch it directly from Armory.

Would be great if there is such an option...
Basic char infos is available from Armory for sure, but if someone is interested just for the score of one char... ;)

*push up*

I can't believe that I am the only with this feature request.
And as a web developer I can't believe that this feature request is too difficult to realize... ;)

I second this request. On pugplug.com GS update request is manual, and at the moment I'm going through straight http request, very bandwidth inefficient, especially that I only need total GS (for each spec).

You guys are good at what you do (that is GS calculation) - and my users love the link back to your site if they do need more information, such as detailed gear view.

As far as my needs go I only need:

Code: Select all

[ { specType (main/off), specName, GS } ]

once again, I think it's only fair if user have to go to your site to see the details on the gear.

The only reason I want to see both specType and specName - because I have seen a mismatch between what w-h calls main, and what is actually main on the toon (in-game).

If this can be fixed (weather you call it a bug, or missing feature) - then I only need [ {specType,GS}] - for all available specs.

Posts: 12

Re: XML/SOAP/WebServices Export

Post#60 » Tue Apr 06, 2010 11:43 pm

Milagros wrote:There is no such option available at the moment (for only 1 character). If you just need basic character info, you can fetch it directly from Armory.

(the question was about getting single character info, not whole guild info).

Armory doesn't give you GS information, which is what wow-heroes is best at. Is there any plans to add API to retrieve that information (main-spec GS, off-spec GS) for a single character?

Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 2 guests