UNPKG

@theedeer0/battlemetrics-api

Version:

An object-oriented BattleMetrics API wrapper for Node.js developers with TypeScript support.

9 lines (7 loc) 210 B
const BattleMetrics = require('../dist/index.js') const bm = new BattleMetrics('123') const test = async () => { const theed = await bm.getPlayerById('1121096958') console.log(theed) } test();