Roster:API

From WoWRosterWiKi
(Difference between revisions)
Jump to: navigation, search
Line 60: Line 60:
 
*'''2''' (''achievements'') - an array of guild achievements completed (only id's given).
 
*'''2''' (''achievements'') - an array of guild achievements completed (only id's given).
 
*'''3''' (''news'') - A list of recent guild news.
 
*'''3''' (''news'') - A list of recent guild news.
 +
 +
'''Guild rewards'''
 +
<code>$roster->api->Guild->getGuildrewards($rname, $name, $fields)</code>
 +
This returns a list of the rewards the specified guild has earned.
  
 
==Data API==
 
==Data API==
 +
 +
<code>$roster->api->Data->getRacesInfo()</code><br>
 +
* This code returns a list of raceId's with faction alignment
 +
<br>
 +
<code>$roster->api->Data->getQuestInfo($id)</code><br>
 +
* This code returns some info for a quest
 +
<code>
 +
  "id":13157,
 +
  "title":"The Crusaders' Pinnacle",
 +
  "reqLevel":77,
 +
  "suggestedPartyMembers":0,
 +
  "category":"Icecrown",
 +
  "level":79
 +
</code>
 +
<br>
 +
<code>$roster->api->Data->getClassesInfo()</code><br>
 +
*This returns id name and power type for all classes
 +
<br>
 +
<code>$roster->api->Data->getItemInfo($itemID,$gem0=null,$gem1=null,$gem2=null,$enchant=null,$es=false)</code><br>
 +
**NOTE: $gem0,$gem1,$gem2,$enchant,$es are nto used as of yet
 +
*Returns Json data for the formation of tooltips of the given item id.
 +
<br>
 +
<code>$roster->api->Data->getAchievInfo()</code><br>
 +
*Returns the list of all achievements and catagories.
 +
<br>
 
==Realm API==
 
==Realm API==
 
==Team API==
 
==Team API==
 
==Talent API==
 
==Talent API==

Revision as of 22:31, 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

Guild rewards $roster->api->Guild->getGuildrewards($rname, $name, $fields) This returns a list of the rewards the specified guild has earned.

Data API

$roster->api->Data->getRacesInfo()


$roster->api->Data->getQuestInfo($id)

 "id":13157,
 "title":"The Crusaders' Pinnacle",
 "reqLevel":77,
 "suggestedPartyMembers":0,
 "category":"Icecrown",
 "level":79


$roster->api->Data->getClassesInfo()


$roster->api->Data->getItemInfo($itemID,$gem0=null,$gem1=null,$gem2=null,$enchant=null,$es=false)


$roster->api->Data->getAchievInfo()


Realm API

Team API

Talent API

Personal tools
Namespaces
Variants
Actions
WoWRoster
Navigation
Toolbox