|
Edited by Axho on 1/5/11 12:21 AM (PST)
I've created a set of Feeds that can be used.
Go to http://wowfeeds.wipeitau.com Freely available for you to use on your site are the following feeds so far: Guild Activity Feed (EU and US) - Available as JSON, HTML or XML. Guild Roster Feed (EU and US) - Available as JSON, HTML or XML. Realm Status (EU and US) - Available as JSON, HTML or XML. Service Status (EU and US) - Available as JSON, HTML or XML. All data is JSON/XML/HTML and can be simply implemented on your site. We use file locking / caching so we are not spamming blizzard's site constantly until they update. These feeds are permanent and free for anyone and everyone to use if they please :) |
|
|
Edited by Pfunk on 12/15/10 8:25 AM (PST)
Excellent work, Axho. Everything works quite well.
However, I do have one constructive criticism and one request: In the interest of having well-formatted URLs for your feeds, spaces should not be used. Instead %20 should be used (or hyphens in the case of spaces in realm names). Are there any item ids or achievement ids associated with the data you are gathering for the feeds? This information would be useful for adding wowhead links and tooltips for the feeds I would like to implement. |
|
pfunk, that is all handled server side. URL can contain spaces and must contain spaces. I'm keeping to the same naming convention as is on the blizzard site. For example, to access our guild roster it is:
http://us.battle.net/wow/en/guild/dreadmaul/wipe it/news notice the space between "wipe" and "it" in the URL above. On server side it keep the raw encoding on the text as the user types it. If you attempt to access http://us.battle.net/wow/en/guild/dreadmaul/wipe%20it/news it simply won't even load :) Also Achievement ID's are now in the feed :D |
|
I'm guessing they fixed up their url encoding and url decoding. Great! Means I can make amendments now :)
I've added a feed status on http://wowfeeds.wipeitau.com/ now to check the status of the feeds. Also, in all feeds, I've added a new error checking data field called "feedStatus". eg: {"feedStatus: "Good"} or in case of an error: {"feedStatus: "Error"} This will help and allow people that use the feeds to return alternate data knowing something is wrong instead of simply it attempting to load and nothing happens or displays on the end users site. |
|
Just FYI.. caching has now been implemented and is running.
The feeds are cached data to prevent spam against the battle.net website. Guild Activity and Guild Roster are cached at 15 minute intervals. Realm Status is cached at 1 minute intervals. In case of an error, the feeds will bypass the caching in attempt to get the latest data for when the battle.net site returns from it's outage / maintenance. Any more requested, please contact me via the feed site :) |
|
Updated Guild Activity feed. Previously it only showed Player and Guild achievements. It also had the incorrect Achievement ID attached.
Now, it displays not only the Player and Guild Achievements. It also displayed items "obtained / looted items" and "crafted items". If it's an Achievement, the ID displayed is the ID of the achievement, if it's an item, the ID is specific to the item ID. head to http://wowfeeds.wipeitau.com and view the example code of the feed under the Guild Activity. |
|
Hi, yes you can limit the returned results. In the URL, simply add: &limit=5
The above will limit the returned results and only show 5. You can set any number to display as many as you like. Leave it off if you want unlimited. eg: http://wowfeeds.wipeitau.com/GuildActivity.php?rn=Dreadmaul&gn=WiPE IT&limit=5&callback=? |
|
Edited by Axho on 12/16/10 7:13 PM (PST)
I sc*%!# the data directly from us.battle.net for US/Oceanic realms/guilds and eu.battle.net for the European realms/guilds.
The data is as live as you see it on the battle.net sites. |
|
|
<3 Axho
Now if we can only fix the time zone issue ;) |
|
The feeds have now been updated and support European realms.
I've also fixed the url string conversion to include URL encoding and Unicode characters to UTF-8 characters. This will mean people with weird characters in their guild name will work correctly and display data :) parameter's updated on the feeds: http://wowfeeds.wipeitau.com |
|
|
Are you working on a way to just pull a single character based on their name and server? Can that even be done with the new profile pages?
|
Of course it can be done, and we are in the process of implementing that as well as a guild profession list and a feed for the realm status forum. So instead of just having to navigate directly to the wow forums to see the latest weekly or emergency maintenance notes. You'll be able to get a feed of this and display it on your site which will display the notes from blizzard and the subject line. |
|
I'd just like to add another fix that was reported and has been corrected.
Within the guild roster. "location=EU" calls now change the image URL's for class and race and also fixed the armory (character profile links) to point correctly to eu.battle.net where it was previously still trying to call the character from us.battle.net Likewise "location=US" points correctly to us.battle.net character profiles and race/class images. |
