krunker-api

1.0.1 • Public • Published

krunker-api

API to get information from krunker matches

Highlights

  • Clean API
  • Type defs (soon)

Dev

Install

$ npm install

Usage

const { getMatchInformation } = require("./index");
 
getMatchInformation("MIA:uqdik")
  .then(match => console.log(match))
  .catch(err => console.log(err));

You can also use your favorite http client and still parse the data

const rp = require("require-promise");
const { Match } = require("./index");
 
rp(params).then(data => {
  let newMatch = new Match(data);
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    2
  • 1.0.0
    1

Package Sidebar

Install

npm i krunker-api

Weekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

2.58 kB

Total Files

4

Last publish

Collaborators

  • sunstrous