0.0.48 • Published 1 year ago
gl-brawlstars v0.0.48
The Game Lobby's Brawl Stars API wrapper!
- ✅ Easy to use
- ✅ Feature-rich
- ✅ Has documentation avaible
How to install?
- Install node.js.
- Use
npm install gl-brawlstars
in your terminal.
- ✅ It's intalled!
How to use?
- Create an api key on the Brawl Stars API (click here)
- Check out the documentation (click here)
Have some examples!
const { Client } = require('gl-brawlstars');
const client = new Client({ token: 'your_token_here' });
client.players.get('#PLAYERTAG1').then(player => {
console.log(`1) This player's called: ${player.name}`)
});
client.clubs.get('#CLUBTAG2').then(club => {
console.log(`2) This club's called: ${club.name}`)
});
client.brawlers.find(16000000).then(brawler => {
console.log(`3) This brawler's called: ${brawler.name}`)
});