Bestiary
Usage
import { bestiary } from "runescape-api"Functions
getAreas()
List all bestiary areas
bestiary.getAreas().then(data => {
console.log(data)
})[
Area { name: 'Agility Pyramid' },
Area { name: 'Agility course pit' },
Area { name: 'Air Rune Temple' },
Area { name: 'Aminishi Dungeon' },
Area { name: 'Ancient cavern' },
Area { name: 'Ape Atoll' },
Area { name: 'Ape Atoll tunnels' },
Area { name: 'Ardougne underground' },
Area { name: "Armadyl's Citadel" },
Area { name: 'Arposandran underground' },
Area { name: 'Arzinian Gold Mine' },
Area { name: 'Ascension Dungeon' },
Area { name: 'Asgarnian Ice Dungeon' },
Area { name: 'Ashdale Caves' },
Area { name: 'Assault course' },
Area { name: "Baba Yaga's House" },
// ... 200+ more items
]getBeast(:id)
Retrieve a beast
Parameter
Type
id
number
bestiary.getBeast(16705).then(data => {
console.log(data)
})Beast {
id: 16705,
name: 'Exiled kalphite guardian',
examine: 'A dauntless guardian of the Exiled Kalphite Queen.',
members: false,
level: 98,
attack: 70,
defence: 70,
magic: 1,
ranged: 1,
lifepoints: 7000,
xp: '628.6',
areas: [ 'Exiled Kalphite Hive' ],
animations: { death: 19470, attack: 19473 },
size: 4,
attackable: true,
aggressive: true,
poisonous: true,
weakness: Weakness { id: 2, name: 'Water' }
}getBeastsByArea(:area)
List all beasts within a given area
Parameter
Type
area
string | Area
getBeastsByTerms(:term)
List all beasts by a given term
Parameter
Type
term
string
getBeastsByFirstLetter(:letter)
List all beasts starting with a given letter
Parameter
Type
letter
string
getBeastsBySlayerCategory(:categoryId)
List all beasts within a given slayer category
Parameter
Type
categoryId
number
getBeastsByWeakness(:weaknessId)
List all beasts with a given weakness
Parameter
Type
weaknessId
number
getSlayerCategories()
List all slayer categories
getWeaknesses()
List all weaknesses
Last updated
Was this helpful?