Compare commits

...

4 Commits

Author SHA1 Message Date
maxswa
3b502cb7cf v2.17.0 2024-01-24 11:25:48 -05:00
Max Swartwout
b3f81e66eb Merge pull request #88 from maxswa/scurrius
Add Scurrius
2024-01-24 11:24:34 -05:00
Max Swartwout
01150b6234 Merge pull request #93 from maxswa/update-readme-json-api
Add reference to official JSON API in README
2024-01-19 18:43:47 -05:00
maxswa
92452e240c Add Scurrius 2023-12-30 23:25:32 -05:00
7 changed files with 30 additions and 22 deletions

View File

@@ -151,6 +151,7 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
| Phantom Muspah | `phantomMuspah` |
| Sarachnis | `sarachnis` |
| Scorpia | `scorpia` |
| Scurrius | `scurrius` |
| Skotizo | `skotizo` |
| Spindel | `spindel` |
| Tempoross | `tempoross` |

View File

@@ -76,6 +76,7 @@
21848,251
66260,119
108898,26
23958,90
373975,9
2005,1569
40001,273
Can't render this file because it has a wrong number of fields in line 25.

View File

@@ -161,41 +161,42 @@
{ "id": 51, "name": "Phantom Muspah", "rank": 21848, "score": 251 },
{ "id": 52, "name": "Sarachnis", "rank": 66260, "score": 119 },
{ "id": 53, "name": "Scorpia", "rank": 108898, "score": 26 },
{ "id": 54, "name": "Skotizo", "rank": 373975, "score": 9 },
{ "id": 55, "name": "Spindel", "rank": 2005, "score": 1569 },
{ "id": 56, "name": "Tempoross", "rank": 40001, "score": 273 },
{ "id": 57, "name": "The Gauntlet", "rank": 192608, "score": 7 },
{ "id": 58, "name": "The Corrupted Gauntlet", "rank": 78367, "score": 201 },
{ "id": 59, "name": "The Leviathan", "rank": 5679, "score": 583 },
{ "id": 60, "name": "The Whisperer", "rank": 478, "score": 1760 },
{ "id": 61, "name": "Theatre of Blood", "rank": 22932, "score": 250 },
{ "id": 54, "name": "Scurrius", "rank": 23958, "score": 90 },
{ "id": 55, "name": "Skotizo", "rank": 373975, "score": 9 },
{ "id": 56, "name": "Spindel", "rank": 2005, "score": 1569 },
{ "id": 57, "name": "Tempoross", "rank": 40001, "score": 273 },
{ "id": 58, "name": "The Gauntlet", "rank": 192608, "score": 7 },
{ "id": 59, "name": "The Corrupted Gauntlet", "rank": 78367, "score": 201 },
{ "id": 60, "name": "The Leviathan", "rank": 5679, "score": 583 },
{ "id": 61, "name": "The Whisperer", "rank": 478, "score": 1760 },
{ "id": 62, "name": "Theatre of Blood", "rank": 22932, "score": 250 },
{
"id": 62,
"id": 63,
"name": "Theatre of Blood: Hard Mode",
"rank": 15059,
"score": 7
},
{
"id": 63,
"id": 64,
"name": "Thermonuclear Smoke Devil",
"rank": 7161,
"score": 3066
},
{ "id": 64, "name": "Tombs of Amascut", "rank": 101555, "score": 35 },
{ "id": 65, "name": "Tombs of Amascut", "rank": 101555, "score": 35 },
{
"id": 65,
"id": 66,
"name": "Tombs of Amascut: Expert Mode",
"rank": 610,
"score": 933
},
{ "id": 66, "name": "TzKal-Zuk", "rank": 15733, "score": 2 },
{ "id": 67, "name": "TzTok-Jad", "rank": -1, "score": -1 },
{ "id": 68, "name": "Vardorvis", "rank": 2051, "score": 2078 },
{ "id": 69, "name": "Venenatis", "rank": 194, "score": 7096 },
{ "id": 70, "name": "Vet'ion", "rank": 69260, "score": 51 },
{ "id": 71, "name": "Vorkath", "rank": 14039, "score": 2780 },
{ "id": 72, "name": "Wintertodt", "rank": 876367, "score": 62 },
{ "id": 73, "name": "Zalcano", "rank": 165341, "score": 25 },
{ "id": 74, "name": "Zulrah", "rank": 226318, "score": 275 }
{ "id": 67, "name": "TzKal-Zuk", "rank": 15733, "score": 2 },
{ "id": 68, "name": "TzTok-Jad", "rank": -1, "score": -1 },
{ "id": 69, "name": "Vardorvis", "rank": 2051, "score": 2078 },
{ "id": 70, "name": "Venenatis", "rank": 194, "score": 7096 },
{ "id": 71, "name": "Vet'ion", "rank": 69260, "score": 51 },
{ "id": 72, "name": "Vorkath", "rank": 14039, "score": 2780 },
{ "id": 73, "name": "Wintertodt", "rank": 876367, "score": 62 },
{ "id": 74, "name": "Zalcano", "rank": 165341, "score": 25 },
{ "id": 75, "name": "Zulrah", "rank": 226318, "score": 275 }
]
}

View File

@@ -139,6 +139,7 @@ test('Parse CSV to json', () => {
44,6233
201,1101
82,3404
555,7079
5085,61
678,903
18823,23
@@ -247,6 +248,7 @@ test('Parse CSV to json', () => {
phantomMuspah: { rank: 44, score: 6233 },
sarachnis: { rank: 201, score: 1101 },
scorpia: { rank: 82, score: 3404 },
scurrius: { rank: 555, score: 7079 },
skotizo: { rank: 5085, score: 61 },
spindel: { rank: 678, score: 903 },
tempoross: { rank: 18823, score: 23 },

View File

@@ -1,6 +1,6 @@
{
"name": "osrs-json-hiscores",
"version": "2.16.3",
"version": "2.17.0",
"description": "The Old School Runescape API wrapper that does more!",
"main": "lib/index.js",
"types": "lib/index.d.ts",

View File

@@ -104,6 +104,7 @@ export type Boss =
| 'phantomMuspah'
| 'sarachnis'
| 'scorpia'
| 'scurrius'
| 'skotizo'
| 'spindel'
| 'tempoross'

View File

@@ -111,6 +111,7 @@ export const BOSSES: Boss[] = [
'phantomMuspah',
'sarachnis',
'scorpia',
'scurrius',
'skotizo',
'spindel',
'tempoross',
@@ -196,6 +197,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = {
phantomMuspah: 'Phantom Muspah',
sarachnis: 'Sarachnis',
scorpia: 'Scorpia',
scurrius: 'Scurrius',
skotizo: 'Skotizo',
spindel: 'Spindel',
tempoross: 'Tempoross',