Help:RSHiscores
Jump to navigation
Jump to search
The wiki uses a custom MediaWiki extension to provide RuneScape highscore data. This is most commonly used in calculators but can be used anywhere and takes the form {{#hs:API|Name|Skill|Type}}
. For most general use cases it is easier to use the {{hiscore}}
template which allows a more user friendly implementation: {{Hiscore| Username | fletching | exp}}
.
Usage[edit source]
{{#hs:API|Name|Skill|Type}}
API
is the name of the HiScores API to get data from, see API for available APIs.Name
is the name of the player to get data for.Skill
is a number that refers to a skill or activity as found in the HiScores API, See RS3 Skills or OSRS Skills for the known skill values.Type
is a number that refers to the type of data to return, see Types for valid values.
If an error occurs, then an error message will be returned. See Errors for possible errors.
API[edit source]
Name | API |
---|---|
rs3 | RuneScape |
rs3-ironman | RuneScape ironman mode |
rs3-hardcore | RuneScape hardcore ironman mode |
osrs | Old School RuneScape |
osrs-ironman | Old School RuneScape ironman mode |
osrs-ultimate | Old School RuneScape ultimate ironman mode |
RS3 Skills[edit source]
OSRS Skills[edit source]
Number | Skill/Activity |
---|---|
-1 | Returns the raw data. (default) |
0 | Overall |
1 | Attack |
2 | Defence |
3 | Strength |
4 | Hitpoints |
5 | Ranged |
6 | Prayer |
7 | Magic |
8 | Cooking |
9 | Woodcutting |
10 | Fletching |
11 | Fishing |
12 | Firemaking |
13 | Crafting |
14 | Smithing |
15 | Mining |
16 | Herblore |
17 | Agility |
18 | Thieving |
19 | Slayer |
20 | Farming |
21 | Runecrafting |
22 | Hunter |
23 | Construction |
24 | Clue Scrolls (easy) |
25 | Clue Scrolls (medium) |
26 | Clue Scrolls (all) |
27 | Bounty Hunter - Rogue |
28 | Bounty Hunter - Hunter |
29 | Clue Scrolls (hard) |
30 | Last Man Standing - Rank |
31 | Clue Scrolls (elite) |
32 | Clue Scrolls (master) |
Types[edit source]
Number | Type |
---|---|
0 | Rank |
1 | Level/Score (default) |
2 | Experience (Skills only) |
Errors[edit source]
Message | Details |
---|---|
No player name entered. | |
Too many players requested. No more than $1 are allowed. | $1 is replaced with the maximum number of lookups per page. |
Skill parameter must be a number. | |
Type parameter must be a number. | |
See previous error. | An error has already occurred in earlier usage. |
Failed to retrieve player data. Try again later. | An HTTP error occurred, possibly the wiki made too many requests and is temporarily blocked. |
The API requested does not exist. | See above for the valid APIs. |
Player '$1' does not exist. | $1 is replaced with the requested player name. |
The skill requested does not exist. | See RS3 Skills or OSRS Skills for the known valid skills. |
The type requested does not exist. | See above for the valid types. |
See also[edit source]
- RSHiscores The extension page on the Weird Gloop GitLab
- Form calculators For the usage in calculators
- Help:Parser functions for other available parser functions