1.0.1 • Published 4 years ago

krunker-api v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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

4 years ago

1.0.0

4 years ago