@illegal-function/rlstats

0.1.0 • Public • Published

Rocket League Stats API

A fork / rewrite of https://github.com/RocketLeagueStats/rls-api-nodejs

Installation

npm i @illegal-function/rlstats

Usage

set the RLSTATS_TOKEN environment variable to the token you got from https://developers.rocketleaguestats.com/

const rls = require('@illegal-function/rlstats')

...

// fetch steam player
const steamPlayer = await rls.steam('illegal-function')
// or
const steamPlayer = await rls.platform(rls.platforms.steam)('illegal-function')
// or
const steamPlayer = rls.platform('pc')('2683756825723')

// search for players
const pageOne = await rls.search('twitch.tv').page(0)
const pageTwo = await rls.search('twitch.tv').page(1)

// fetch ranked leaderboard
const shitPlaylist = await rls.soloStandard()

Links

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    1

Package Sidebar

Install

npm i @illegal-function/rlstats

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

8.39 kB

Total Files

8

Last publish

Collaborators

  • illegal-function