#1 - May 11, 2011, 2:24 a.m.
Each of the feeds below will be accessed by using a realm and name. The feeds will always contain basic information by default, and will have optional fields that can be requested via a parameter – making it possible to retrieve all the data in a single request. A locale parameter will also be available for localized strings. In addition, the feeds will support the Last-Modified HTTP header to help with caching. Just like with the realm status feed, region will be specified using the subdomain (e.g. eu.battle.net/api/.. for European realms).
Character
- URL: /api/wow/character/{realm}/{name}
- Basic information: name, level, class, race, gender, faction, guild, achievement points
- Optional fields: equipped items, stats, reputation, primary and secondary skills, achievements/statistics, talents, titles, collected mounts and companions, quests, profession recipes, Hunter pets, PvP information
Guild
- URL: /api/wow/guild/{realm}/{name}
- Basic information: name, level, achievement points
- Optional fields: members (roster), achievements
Arena Team
- URL: /api/wow/arena/{realm}/{size}/{name} (size being 2v2, 3v3 or 5v5)
- Basic information: name, ranking, rating, weekly/season statistics
- Optional fields: members (roster)
Optional fields would be requested using the ‘fields’ parameter, where you specify everything you need using a comma-separated list. e.g:
/api/wow/character/realm-name/grotako?fields=items,talents,mounts,titles
Sample feeds will soon be provided as we’d also like feedback on the data format. In the meantime, let us know what you think!
p.s: We’ll have more details on the Auction House and Arena Ladder APIs to share in the coming weeks.