1.0.1 • Published 4 years ago
krunker-api v1.0.1
krunker-api
API to get information from krunker matches
Highlights
- Clean API
- Type defs (soon)
Dev
- Built with Node.js.
- Built with request-promise.
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);
});