@aakiimov/brawlstarsapi

BrawlStars API Wrapper

Usage no npm install needed!

<script type="module">
  import aakiimovBrawlstarsapi from 'https://cdn.skypack.dev/@aakiimov/brawlstarsapi';
</script>

README

@aakiimov/brawlstarsapi

@aakiimov/brawlstarsapi - api wrapper for working with brawlstars api

Start

Install

npm install @aakiimov/brawlstarsapi

Use example

import BS from "@aakiimov/brawlstarsapi";
const server = new BS.Server(process.env.token) // URL for get a token https://developer.brawlstars.com/

;(async() => {
  const user     = await server.getUser("#TAG")
  console.log(user.name)
})()

Documentation

Click here