');
document.write('');
var yuipath = 'clientscript/yui';
var yuicombopath = '';
var remoteyui = false;
}
else // Load Rest of YUI remotely (where possible)
{
var yuipath = 'https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build';
var yuicombopath = '';
var remoteyui = true;
if (!yuicombopath)
{
document.write('');
}
}
var SESSIONURL = "s=5ed61dab1f050b606b0cf6399da894f6&";
var SECURITYTOKEN = "guest";
var IMGDIR_MISC = "warmane/misc";
var IMGDIR_BUTTON = "warmane/buttons";
var vb_disable_ajax = parseInt("0", 10);
var SIMPLEVERSION = "422";
var BBURL = "https://forum.warmane.com";
var LOGGEDIN = 0 > 0 ? true : false;
var THIS_SCRIPT = "showthread";
var RELPATH = "showthread.php?t=307869&p=2621347&viewfull=1";
var PATHS = {
forum : "",
cms : "",
blog : ""
};
var AJAXBASEURL = "https://forum.warmane.com/";
var CoTTooltips = {
rename: true,
icons: false,
iconsize: 15,
qualitycolor: true,
overridecolor: {
spells: '#839309',
items: '',
npcs: '#fff',
objects: '#fff',
quests: '#ffb100',
achievements: '#fff'
}
};
// -->
[Armory] Guild and Characters public API
Member
[Armory] Guild and Characters public API
We have facebook, twitter, even google serving restful services through a public API.
It would be pretty cool if warmane manage to serve public data via API, so web developers are able to build custom websites and applications making use of their own in-game data, to feel more "integrated" with the game.
Guild websites like shivtr, guildlaunch, etc... Are counting with retail's API, but we can not make of use it, of course.
So if we are able to build our own guild/fan websites with this data, it will be way better and professional.
I'm not talking about all http verbs, nor internal applications, but a simple way to 'GET' some endpoints like:
https://api.warmane.com/v1.0/guild/{realm}/{guild-id}/
- returns: level, faction, number of members, number of achievement points. https://api.warmane.com/v1.0/guild/{realm}/{guild-id}/members/
- returns: array of members
[{...},{Name, Race , Class, Faction, Level , Rank , Achievements-Points, Professions},{...}, {...}] https://api.warmane.com/v1.0/guild/{realm}/{guild-id}/achievements/
- returns: list of all completed achievements (supports pagination) https://api.warmane.com/v1.0/character/{realm}/{character-name}/
- returns: {name, level, race, class, guild, specs} https://api.warmane.com/v1.0/character/{realm}/{character-name}/achievements/
- returns: list of recent achievements (number of records may be defined by optional parameter) https://api.warmane.com/v1.0/character/{realm}/{character-name}/pvp/
- returns: total kills, bg rating, arena rating
This is just a sketch of what the references may look like, but it's all up to the devs.
Feel free to contact me in case of approval.
PD: I considered using a list and colors for a better presentation, I'm not pretending to call attention or anything like that.
Staff
This feature is coming soon :)
Member
Cool! Thank you!
I'd be glad to help if is needed =)
Forum Veteran nÂș 69
I guess this is the part where I stop scraping html. Thanks edifice
Member
Thanks Frondor! Your suggestion is really good!
No problem ...
Member
Now I can get started on chardev-warmane. :)
One other request would be to include the Openwow data for API as well as I understand they are owned by Warmane, no?
Member
This feature is coming soon :)
Any progress on this? It sounds really interesting.
Member
BUMP !!
I really need this API for my Guild Website.
Help us warmane staff to expend the good stuff on the Web !
Imagine all the possibilities ; Android apps, websites, etc ...
(Got so many ideas)
Member
Any updates on the API feature lads?
Member
Member
Not really, still waiting for it.
Member
Ten years later.. still no API
Member
Can I make it for you using dotNet core? I need readonly access to databases.
Staff
Ten years later.. still no API
This feature was totally forgotten about.
It will be available in the next update to the armory.
The api will output JSON.
Next update is probably 1 to 2 weeks away.
The url scheme will be like so:
http://armory.warmane.com/api/character/name/realm/type (summary, achievements)
Summary will include equipped items, achievement points, pvp stats, general character information.
Achievements will be achievement name, id, earned date.
http://armory.warmane.com/api/guild/name/realm/type (summary, members, achievements)
Summary will be general guild information, achievement points (cata+), total members.
Members will be total members, race, name, class, achievement points, pve points, pve rank, professions
Achievements (Same as character)
http://armory.warmane.com/api/team/name/realm/type (summary)
Summary will be all team information, rank, member information.
All urls will only ever support GET requests.
Member
Thanks a lot, how about additionally implement something like:
http://armory.warmane.com/api/listplayernames/realm
http://armory.warmane.com/api/listguildnames/realm
http://armory.warmane.com/api/listteamnames/realm
to fetch all player, teams, guild names
or
http://armory.warmane.com/api/character/getbyid/realm/{id}
http://armory.warmane.com/api/guild/getbyid/realm/{id}
http://armory.warmane.com/api/team/getbyid/realm/{id}
where {id} is incremental number to allow client iterate all items
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules