yautah / brawlstars.js

API wrapper for https://brawlapi.cf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BrawlStars

Node.js API Wrapper for BrawlAPI

Install

npm install brawlstars --save

Usage

const BrawlStars = require("brawlstars");
// get token from https://discord.me/BrawlAPI
const client = new BrawlStars.Client({ token: "token" });

async function main() {
  const player = await client.getPlayer("#C2L0");
  console.log(player);
}

main();

Documentation can be found here

License

MIT

About

API wrapper for https://brawlapi.cf

License:MIT License


Languages

Language:JavaScript 91.8%Language:Shell 8.2%