An API Wrapper for Brawl Stars API
npm install --save brawl-stars-api
const brawlApi = require('brawl-stars-api');
const client = new brawlApi({
token: 'Token'
})
You can also use BS_API_TOKEN
env variable for the token
You can get your token here
client
.clubByTag('#VQJPJY0L')
.then(res => console.log(res))
.catch(err => console.log(err));
client
.playerByTag('#VQJPJY0L')
.then(res => console.log(res))
.catch(err => console.log(err));