mirror of
https://github.com/maxswa/osrs-json-hiscores.git
synced 2025-10-15 10:19:04 +00:00
Compare commits
10 Commits
add-axios-
...
add-tob-ha
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74aba3e818 | ||
|
|
09fe7ed539 | ||
|
|
7a78e1ea0a | ||
|
|
7a4163aed2 | ||
|
|
85464d02fe | ||
|
|
592d82f86b | ||
|
|
a28a9e253e | ||
|
|
0bd15f2402 | ||
|
|
ed8ad51b4d | ||
|
|
311ea88c61 |
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.html linguist-vendored
|
||||||
96
README.md
96
README.md
@@ -3,6 +3,7 @@
|
|||||||
[](https://www.npmjs.com/package/osrs-json-hiscores)
|
[](https://www.npmjs.com/package/osrs-json-hiscores)
|
||||||
[](https://npm-stat.com/charts.html?package=osrs-json-hiscores)
|
[](https://npm-stat.com/charts.html?package=osrs-json-hiscores)
|
||||||
[](https://github.com/maxswa/osrs-json-hiscores/blob/master/src/types.ts)
|
[](https://github.com/maxswa/osrs-json-hiscores/blob/master/src/types.ts)
|
||||||
|
[](https://github.com/maxswa/osrs-json-hiscores/actions/workflows/main.yml?query=branch%3Amain)
|
||||||
|
|
||||||
**The Old School Runescape API wrapper that does more!**
|
**The Old School Runescape API wrapper that does more!**
|
||||||
|
|
||||||
@@ -118,53 +119,54 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
|
|||||||
|
|
||||||
### Bosses
|
### Bosses
|
||||||
|
|
||||||
| Boss Name | Param |
|
| Boss Name | Param |
|
||||||
| -------------------------------- | :----------------------------: |
|
| --------------------------------- | :----------------------------: |
|
||||||
| Abyssal Sire | `abyssalSire` |
|
| Abyssal Sire | `abyssalSire` |
|
||||||
| Alchemical Hydra | `alchemicalHydra` |
|
| Alchemical Hydra | `alchemicalHydra` |
|
||||||
| Barrows Chests | `barrows` |
|
| Barrows Chests | `barrows` |
|
||||||
| Bryophyta | `bryophyta` |
|
| Bryophyta | `bryophyta` |
|
||||||
| Callisto | `callisto` |
|
| Callisto | `callisto` |
|
||||||
| Cerberus | `cerberus` |
|
| Cerberus | `cerberus` |
|
||||||
| Chambers Of Xeric | `chambersOfXeric` |
|
| Chambers Of Xeric | `chambersOfXeric` |
|
||||||
| Chambers Of Xeric Challenge Mode | `chambersOfXericChallengeMode` |
|
| Chambers Of Xeric: Challenge Mode | `chambersOfXericChallengeMode` |
|
||||||
| Chaos Elemental | `chaosElemental` |
|
| Chaos Elemental | `chaosElemental` |
|
||||||
| Chaos Fanatic | `chaosFanatic` |
|
| Chaos Fanatic | `chaosFanatic` |
|
||||||
| Commander Zilyana | `commanderZilyana` |
|
| Commander Zilyana | `commanderZilyana` |
|
||||||
| Corporeal Beast | `corporealBeast` |
|
| Corporeal Beast | `corporealBeast` |
|
||||||
| Crazy Archaeologist | `crazyArchaeologist` |
|
| Crazy Archaeologist | `crazyArchaeologist` |
|
||||||
| Dagannoth Prime | `dagannothPrime` |
|
| Dagannoth Prime | `dagannothPrime` |
|
||||||
| Dagannoth Rex | `dagannothRex` |
|
| Dagannoth Rex | `dagannothRex` |
|
||||||
| Dagannoth Supreme | `dagannothSupreme` |
|
| Dagannoth Supreme | `dagannothSupreme` |
|
||||||
| Deranged Archaeologist | `derangedArchaeologist` |
|
| Deranged Archaeologist | `derangedArchaeologist` |
|
||||||
| General Graardor | `generalGraardor` |
|
| General Graardor | `generalGraardor` |
|
||||||
| Giant Mole | `giantMole` |
|
| Giant Mole | `giantMole` |
|
||||||
| Grotesque Guardians | `grotesqueGuardians` |
|
| Grotesque Guardians | `grotesqueGuardians` |
|
||||||
| Hespori | `hespori` |
|
| Hespori | `hespori` |
|
||||||
| Kalphite Queen | `kalphiteQueen` |
|
| Kalphite Queen | `kalphiteQueen` |
|
||||||
| King Black Dragon | `kingBlackDragon` |
|
| King Black Dragon | `kingBlackDragon` |
|
||||||
| Kraken | `kraken` |
|
| Kraken | `kraken` |
|
||||||
| Kreearra | `kreeArra` |
|
| Kreearra | `kreeArra` |
|
||||||
| K'ril Tsutsaroth | `krilTsutsaroth` |
|
| K'ril Tsutsaroth | `krilTsutsaroth` |
|
||||||
| Mimic | `mimic` |
|
| Mimic | `mimic` |
|
||||||
| The Nightmare of Ashihama | `nightmare` |
|
| The Nightmare of Ashihama | `nightmare` |
|
||||||
| Obor | `obor` |
|
| Obor | `obor` |
|
||||||
| Sarachnis | `sarachnis` |
|
| Sarachnis | `sarachnis` |
|
||||||
| Scorpia | `scorpia` |
|
| Scorpia | `scorpia` |
|
||||||
| Skotizo | `skotizo` |
|
| Skotizo | `skotizo` |
|
||||||
| Tempoross | `tempoross` |
|
| Tempoross | `tempoross` |
|
||||||
| Gauntlet | `gauntlet` |
|
| The Gauntlet | `gauntlet` |
|
||||||
| Corrupted Gauntlet | `corruptedGauntlet` |
|
| The Corrupted Gauntlet | `corruptedGauntlet` |
|
||||||
| Theatre Of Blood | `theatreOfBlood` |
|
| Theatre Of Blood | `theatreOfBlood` |
|
||||||
| Thermonuclear Smoke Devil | `thermonuclearSmokeDevil` |
|
| Theatre Of Blood: Hard Mode | `theatreOfBloodHardMode` |
|
||||||
| TzKal-Zuk | `tzKalZuk` |
|
| Thermonuclear Smoke Devil | `thermonuclearSmokeDevil` |
|
||||||
| TzTok-Jad | `tzTokJad` |
|
| TzKal-Zuk | `tzKalZuk` |
|
||||||
| Venenatis | `venenatis` |
|
| TzTok-Jad | `tzTokJad` |
|
||||||
| Vetion | `vetion` |
|
| Venenatis | `venenatis` |
|
||||||
| Vorkath | `vorkath` |
|
| Vetion | `vetion` |
|
||||||
| Wintertodt | `wintertodt` |
|
| Vorkath | `vorkath` |
|
||||||
| Zalcano | `zalcano` |
|
| Wintertodt | `wintertodt` |
|
||||||
| Zulrah | `zulrah` |
|
| Zalcano | `zalcano` |
|
||||||
|
| Zulrah | `zulrah` |
|
||||||
|
|
||||||
## What you'll get
|
## What you'll get
|
||||||
|
|
||||||
|
|||||||
@@ -122,6 +122,7 @@ test('Parse CSV to json', () => {
|
|||||||
63,375
|
63,375
|
||||||
2870,6
|
2870,6
|
||||||
6984,138
|
6984,138
|
||||||
|
23,923141
|
||||||
4043,2000
|
4043,2000
|
||||||
489,8
|
489,8
|
||||||
967,47
|
967,47
|
||||||
@@ -212,6 +213,7 @@ test('Parse CSV to json', () => {
|
|||||||
gauntlet: { rank: 63, score: 375 },
|
gauntlet: { rank: 63, score: 375 },
|
||||||
corruptedGauntlet: { rank: 2870, score: 6 },
|
corruptedGauntlet: { rank: 2870, score: 6 },
|
||||||
theatreOfBlood: { rank: 6984, score: 138 },
|
theatreOfBlood: { rank: 6984, score: 138 },
|
||||||
|
theatreOfBloodHardMode: { rank: 23, score: 923141 },
|
||||||
thermonuclearSmokeDevil: { rank: 4043, score: 2000 },
|
thermonuclearSmokeDevil: { rank: 4043, score: 2000 },
|
||||||
tzKalZuk: { rank: 489, score: 8 },
|
tzKalZuk: { rank: 489, score: 8 },
|
||||||
tzTokJad: { rank: 967, score: 47 },
|
tzTokJad: { rank: 967, score: 47 },
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "osrs-json-hiscores",
|
"name": "osrs-json-hiscores",
|
||||||
"version": "2.4.1",
|
"version": "2.4.2",
|
||||||
"description": "The Old School Runescape API wrapper that does more!",
|
"description": "The Old School Runescape API wrapper that does more!",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
"lib/**/*"
|
"lib/**/*"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "watch 'yarn run build' src",
|
"dev": "yarn build --watch",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"format": "prettier --write \"src/**/*.ts\"",
|
"format": "prettier --write \"src/**/*.ts\"",
|
||||||
"lint": "eslint --fix \"src/**/*.ts\"",
|
"lint": "eslint --fix \"src/**/*.ts\"",
|
||||||
@@ -109,7 +109,6 @@
|
|||||||
"np": "6.5.0",
|
"np": "6.5.0",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.2.1",
|
||||||
"ts-jest": "^26.5.4",
|
"ts-jest": "^26.5.4",
|
||||||
"typescript": "^4.2.3",
|
"typescript": "^4.2.3"
|
||||||
"watch": "^1.0.2"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -98,6 +98,7 @@ export type Boss =
|
|||||||
| 'gauntlet'
|
| 'gauntlet'
|
||||||
| 'corruptedGauntlet'
|
| 'corruptedGauntlet'
|
||||||
| 'theatreOfBlood'
|
| 'theatreOfBlood'
|
||||||
|
| 'theatreOfBloodHardMode'
|
||||||
| 'thermonuclearSmokeDevil'
|
| 'thermonuclearSmokeDevil'
|
||||||
| 'tzKalZuk'
|
| 'tzKalZuk'
|
||||||
| 'tzTokJad'
|
| 'tzTokJad'
|
||||||
|
|||||||
@@ -106,6 +106,7 @@ export const BOSSES: Boss[] = [
|
|||||||
'gauntlet',
|
'gauntlet',
|
||||||
'corruptedGauntlet',
|
'corruptedGauntlet',
|
||||||
'theatreOfBlood',
|
'theatreOfBlood',
|
||||||
|
'theatreOfBloodHardMode',
|
||||||
'thermonuclearSmokeDevil',
|
'thermonuclearSmokeDevil',
|
||||||
'tzKalZuk',
|
'tzKalZuk',
|
||||||
'tzTokJad',
|
'tzTokJad',
|
||||||
@@ -173,6 +174,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = {
|
|||||||
gauntlet: 'The Gauntlet',
|
gauntlet: 'The Gauntlet',
|
||||||
corruptedGauntlet: 'The Corrupted Gauntlet',
|
corruptedGauntlet: 'The Corrupted Gauntlet',
|
||||||
theatreOfBlood: 'Theatre of Blood',
|
theatreOfBlood: 'Theatre of Blood',
|
||||||
|
theatreOfBloodHardMode: 'Theatre of Blood: Hard Mode',
|
||||||
thermonuclearSmokeDevil: 'Thermonuclear Smoke Devil',
|
thermonuclearSmokeDevil: 'Thermonuclear Smoke Devil',
|
||||||
tzKalZuk: 'TzKal-Zuk',
|
tzKalZuk: 'TzKal-Zuk',
|
||||||
tzTokJad: 'TzTok-Jad',
|
tzTokJad: 'TzTok-Jad',
|
||||||
|
|||||||
33
yarn.lock
33
yarn.lock
@@ -2228,13 +2228,6 @@ esutils@^2.0.2:
|
|||||||
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
|
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
|
||||||
integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
|
integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
|
||||||
|
|
||||||
exec-sh@^0.2.0:
|
|
||||||
version "0.2.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.2.2.tgz#2a5e7ffcbd7d0ba2755bdecb16e5a427dfbdec36"
|
|
||||||
integrity sha512-FIUCJz1RbuS0FKTdaAafAByGS0CPvU3R0MeHxgtl+djzCc//F8HakL8GzmVNZanasTbTAY/3DRFA0KpVqj/eAw==
|
|
||||||
dependencies:
|
|
||||||
merge "^1.2.0"
|
|
||||||
|
|
||||||
exec-sh@^0.3.2:
|
exec-sh@^0.3.2:
|
||||||
version "0.3.4"
|
version "0.3.4"
|
||||||
resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.4.tgz#3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5"
|
resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.4.tgz#3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5"
|
||||||
@@ -4067,16 +4060,11 @@ lodash.zip@^4.2.0:
|
|||||||
resolved "https://registry.yarnpkg.com/lodash.zip/-/lodash.zip-4.2.0.tgz#ec6662e4896408ed4ab6c542a3990b72cc080020"
|
resolved "https://registry.yarnpkg.com/lodash.zip/-/lodash.zip-4.2.0.tgz#ec6662e4896408ed4ab6c542a3990b72cc080020"
|
||||||
integrity sha1-7GZi5IlkCO1KtsVCo5kLcswIACA=
|
integrity sha1-7GZi5IlkCO1KtsVCo5kLcswIACA=
|
||||||
|
|
||||||
lodash@4.x, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21:
|
lodash@4.x, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21:
|
||||||
version "4.17.21"
|
version "4.17.21"
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
||||||
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
|
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
|
||||||
|
|
||||||
lodash@^4.17.12, lodash@^4.17.19:
|
|
||||||
version "4.17.20"
|
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
|
|
||||||
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
|
|
||||||
|
|
||||||
log-symbols@^1.0.2:
|
log-symbols@^1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
|
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
|
||||||
@@ -4226,11 +4214,6 @@ merge2@^1.3.0:
|
|||||||
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
|
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
|
||||||
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
|
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
|
||||||
|
|
||||||
merge@^1.2.0:
|
|
||||||
version "1.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.1.tgz#38bebf80c3220a8a487b6fcfb3941bb11720c145"
|
|
||||||
integrity sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ==
|
|
||||||
|
|
||||||
micromatch@^3.1.4:
|
micromatch@^3.1.4:
|
||||||
version "3.1.10"
|
version "3.1.10"
|
||||||
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
|
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
|
||||||
@@ -6266,14 +6249,6 @@ walker@^1.0.7, walker@~1.0.5:
|
|||||||
dependencies:
|
dependencies:
|
||||||
makeerror "1.0.x"
|
makeerror "1.0.x"
|
||||||
|
|
||||||
watch@^1.0.2:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/watch/-/watch-1.0.2.tgz#340a717bde765726fa0aa07d721e0147a551df0c"
|
|
||||||
integrity sha1-NApxe952Vyb6CqB9ch4BR6VR3ww=
|
|
||||||
dependencies:
|
|
||||||
exec-sh "^0.2.0"
|
|
||||||
minimist "^1.2.0"
|
|
||||||
|
|
||||||
webidl-conversions@^5.0.0:
|
webidl-conversions@^5.0.0:
|
||||||
version "5.0.0"
|
version "5.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff"
|
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff"
|
||||||
@@ -6389,9 +6364,9 @@ write-file-atomic@^3.0.0:
|
|||||||
typedarray-to-buffer "^3.1.5"
|
typedarray-to-buffer "^3.1.5"
|
||||||
|
|
||||||
ws@^7.2.3:
|
ws@^7.2.3:
|
||||||
version "7.4.2"
|
version "7.4.6"
|
||||||
resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.2.tgz#782100048e54eb36fe9843363ab1c68672b261dd"
|
resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c"
|
||||||
integrity sha512-T4tewALS3+qsrpGI/8dqNMLIVdq/g/85U98HPMa6F0m6xTbvhXU6RCQLqPH3+SlomNV/LdY6RXEbBpMH6EOJnA==
|
integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==
|
||||||
|
|
||||||
xdg-basedir@^4.0.0:
|
xdg-basedir@^4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user