1.3.0 • Published 2 years ago

bm-wrapper v1.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

BM Wrapper

A Promise-Based Battlemetrics API Wrapper
Very much a work in progress project, New Versions will be released Daily so make sure to stay up to date.
Documentation will follow.

How to use

Install it through your favorite package manager:

yarn add bm-wrapper
# or
npm i bm-wrapper

Here's a quick example of usage:

const { BattlemetricsClient } = require('bm-wrapper');

//Not a valid API Key
const Battlemetrics = new BattlemetricsClient({
    apiKey: 'N68Gg9uM5wvabSzV9SwFVz4fvvgnpSii25FfJqZefXXe4NYUe3Sb6',
});

Battlemetrics.getBanInfoById('15510636').then((res) => {
	console.log(res);
}).catch((err) => {
    console.log(err)
});
1.2.3

2 years ago

1.2.2

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago