1.0.0 • Published 5 years ago

osrs-hiscores-api v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

OSRS API wrapper

How to use

const HiscoresApi = require('osrs-hiscores-api')

HiscoresApi.getStats('name', 'gamemode').then(res => {
    // getStats returns a promise
    // so we either need .then
    // or to use an async function
})

Local API:

This repository uses node express to generate an api to fetch OSRS user stats

Endpoint information once running: schema.md

To run the API locally:

yarn
yarn run start