OSRS Grand Exchange
Usage
import { grandexchange } from "runescape-api/osrs"
Functions
getItem(:id)
Retrieve an item
Parameter
Type
id
number
grandexchange.getItem(4151).then(data => {
console.log(data)
})
getItemGraph(:id)
Retrieve an item's price history graph data
Parameter
Type
id
number
grandexchange.getItemGraph(4151).then(data => {
console.log(data)
})
Last updated
Was this helpful?