print_r($api->getTopWeeklyContributers()); /* * Character specific information */ echo $api->getPower() . ' '; echo $api->getClass() . ' '; echo $api->getRace() . ' '; echo $api->getAchievementPoints() . ' '; echo $api->getHealth() . ' '; echo $api->getLevel() . ' '; echo $api->getItemLevel() . ' '; echo $api->getGender() . ' '; //For a complete list of Stat possibilities, //please see the getStat function comments //in RosterAPI.php $s = $api->getStat("spellhaste"); echo $s["name"] . ' '; echo $s["value"] . ' '; print_r($api->getProfessions()); print_r($api->getTalents()); print_r($api->getItems()); /* * The Item Array acts a little differently * then the other arrays because it stores * an Array of Arrays for Gems. */ $itemArray = $api->getItems(); /* * To Retreive A Gem Name: * $itemArray[ITEM_INDEX]["gems"][GEM_INDEX]; *
/* * Character specific information */ echo $api->getPower().' '; echo $api->getClass().' '; echo $api->getRace().' '; echo $api->getAchievementPoints().' '; echo $api->getHealth().' '; echo $api->getLevel().' '; echo $api->getItemLevel().' '; echo $api->getGender().' '; //For a complete list of Stat possibilities, //please see the getStat function comments //in RosterAPI.php $s = ($api->getStat("spellhaste")); echo $s["name"].' '; echo $s["value"].' '; print_r($api->getProfessions()); print_r($api->getTalents()); print_r($api->getItems()); /* * The Item Array acts a little differently * then the other arrays because it stores * an Array of Arrays for Gems. */ $itemArray = $api->getItems();