Roster:API

From WoWRosterWiKi
(Difference between revisions)
Jump to: navigation, search
Line 46: Line 46:
  
 
==Guild API==
 
==Guild API==
 +
 +
Used to pull info from the WoW Api About any given Guild<br>
 +
Use:<code> $roster->api->Guild->getGuildInfo($rname, $name, $fields); </code><br>
 +
Returns json formated arrays contaning data given from the array of fields listed below<br>
 +
 +
The getGuildInfo has 3 variables ($rname, $name, $fields) respectfully.
 +
*$ranme - the name of the server the guild is located on
 +
*$name - the name of the Guild
 +
*$Fields - the fields you want to get for this guild use ":" to seperate multiple fields
 +
 +
The Field options are as fallows
 +
*'''1''' (''members'') - A summary of the guilds members.
 +
*'''2''' (''achievements'') - an array of guild achievements completed (only id's given).
 +
*'''3''' (''news'') - A list of recent guild news.
 +
 
==Data API==
 
==Data API==
 
==Realm API==
 
==Realm API==
 
==Team API==
 
==Team API==
 
==Talent API==
 
==Talent API==

Revision as of 22:06, 21 May 2012

WR.net

Important note: When you edit this page, you agree to release your contribution into the public domain.
If you do not want this or can not do this because of license restrictions, please do not edit.

Contents


Roster API

The roster to wow api is a set of scripts that will use the new blizzard feeds for character and guild information from there servers for use with roster and its addons Features include

Char API

Used to pull info from the WoW Api About any given Character level 10 and up
Use: $roster->api->Char->getCharInfo('Zangarmarsh,'Ulminia','1:2:3');
Returns json formated arrays contaning data given from the array of fields listed below

The getCharInfo has 3 variables ($Server, $CharName, $Fields) respectfully.

The Field options are as fallows

Guild API

Used to pull info from the WoW Api About any given Guild
Use: $roster->api->Guild->getGuildInfo($rname, $name, $fields);
Returns json formated arrays contaning data given from the array of fields listed below

The getGuildInfo has 3 variables ($rname, $name, $fields) respectfully.

The Field options are as fallows

Data API

Realm API

Team API

Talent API

Personal tools
Namespaces
Variants
Actions
WoWRoster
Navigation
Toolbox