Try to describe the issue in as much detail as possible and provide examples. Please make sure to follow coding conventions displayed in the existing source. $player->stats() // Returns an array of all stat entriesįork the repository and submit a pull request to the "master" branch.$player->bosses() is an alias for $player->miniGames().For a full list of accepted keys please refer to RunescapeClient.php. $player->miniGames() // Returns an array of bosses/minigames. On the hiscores page on the RS website (on desktop) there is a panel on the right hand side of the page that takes you to Fresh Start Worlds.$player->stats() // Returns an array of skill entries.$player->stats('Zulrah') // Returns a boss/minigame entry that contains "rank" and "count".$player->stats('Overall') // Returns a skill entry that contains "rank", "level" and "experience".Retrieving all metrics of a skill, boss or minigame $player->rank() // Returns an associative array of "stat" => "rank".$player->rank('Runecrafting') // Returns rank as a string.Retrieving the rank for a skill, boss or minigame $player->experience() // Returns an associative array of "skill" => "experience".$player->experience('Overall') // Returns experience as a string.Retrieving the experience of a skill, or multiple skills $player->level() // Returns an associative array of "skill" => "level".calculators only works for skills that are listed on the hiscores. $player->level('Runecrafting') // Returns level as a string OSRS Runescape High Alchemy Price Guide Requires 25 magic, yields 250,000 OSRS GP per.Retrieving the level of a skill, or multiple skills This Player class provides some handy methods to interact with the hiscores data as show in these examples: Retrieving the RSN Runescape::get(RunescapeClient::TYPE_RS3, 'le me') Īll 3 of the static methods rs3(), oldschool() and get() will return an instance of Elbojoloco\RunescapeHiscores\Player. Runescape::get(RunescapeClient::TYPE_OLDSCHOOL, 'Lynx Titan')
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |