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);
});

Readme

Keywords

Package Sidebar

Install

npm i krunker-api

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

2.58 kB

Total Files

4

Last publish

Collaborators

  • sunstrous