Complete module to interact with the Brawl Stars API.

Overview

BrawlStars-API.js

Version Issues

Brawlstars-api.js is a library made to interact with the Official Brawl Stars api, listing all of their endpoints in one place.

How to install:

npm install brawlstars-api.js

🧩 How to use:

First you need a token generated by the official Brawl Stars Api, which you can create here: BrawlStars Developer Page.

With your token in hands, you need to import the brawlstars-api.js and initialize it by passing the token as a string.

const bsClient = require("brawlstars-api.js")
const client = new bsClient("token")

After creating your client with a token, you can already interact with the API!

📚 Documentation:

Here are some of the basic functionalities, but they return a promise, so you need to resolve them before obtaining the result, this can be done with async/await or .then.

await client.getPlayer('#208UR80')
await client.getPlayerBattles('#208UR80')
await client.getClub('#2GJ9UV8PJ')
await client.getBrawlers('colt')
// View the documentation to read about all the functionalities

Click here to see the full documentation.

🔧 Extras

  • This project is currently open source, feel free to help and contribute in the project repository at GitHub.
  • Found a bug? Just create an Issue report documenting what happened.
  • Liked the module? Thanks :), maybe leave a star on the repository!
You might also like...

Get, change, and otherwise interact with your notes in Obsidian via a REST API.

Local REST API for Obsidian See our interactive docs: https://coddingtonbear.github.io/obsidian-local-rest-api/ Have you ever needed to automate inter

Dec 22, 2022

This is a project based on a game Leaderboard. You can interact with an API inserting your user name and score. Built with HTML, CSS, JavaScript and WEBPACK

This is a project based on a game Leaderboard. You can interact with an API inserting your user name and score. Built with HTML, CSS, JavaScript and WEBPACK

Leaderboard: Leaderboard project - Microverse Acces link Check the live version here Built With HTML CSS JavaScript VScode Webpack GitFlow Quick view

Oct 8, 2022

JavaScript library to interact with the Cfx.re API (FiveM/RedM)

JavaScript library to interact with the Cfx.re API (FiveM/RedM)

Cfx.re JavaScript API A package that helps you interacting with the Cfx.re, FiveM & RedM API. How to install npm i cfx-api Example usage: const cfx =

Jan 1, 2023

JavaScript library to interact with the Cfx.re API (FiveM/RedM)

JavaScript library to interact with the Cfx.re API (FiveM/RedM)

Cfx.re JavaScript API A package that helps you interacting with the Cfx.re, FiveM & RedM API. How to install npm i cfx-api Example usage: const cfx =

Aug 14, 2022

Fintoc.js ES Module - Use the Fintoc widget as an ES module

Fintoc.js ES Module Use the Fintoc widget as an ES module. Installation Install using npm! (or your favourite package manager) # Using npm npm install

May 13, 2022

Template Repository for making your own budder Module. CORE is not included, this is just for the module.

A quick copy of the "How to make your own module" section Check out the official budderAPI repository Template Repository for making your own budder M

Apr 3, 2022

Userland module that implements the module path mapping that Node.js does with "exports" in package.json

exports-map Userland module that implements the module path mapping that Node.js does with "exports" in package.json npm install exports-map Usage co

May 31, 2022

A module federation SDK which is unrelated to tool chain for module consumer.

A module federation SDK which is unrelated to tool chain for module consumer.

hel-micro, 模块联邦sdk化,免构建、热更新、工具链无关的微模块方案 Demo hel-loadash codesandbox hel-loadash git Why hel-micro 如何使用远程模块 仅需要一句npm命令即可载入远程模块,查看下面例子线上示例 1 安装hel-micr

Jan 3, 2023
Owner
Nícolas Gabriel
Nícolas Gabriel
An npm package for demonstration purposes using TypeScript to build for both the ECMAScript Module format (i.e. ESM or ES Module) and CommonJS Module format. It can be used in Node.js and browser applications.

An npm package for demonstration purposes using TypeScript to build for both the ECMAScript Module format (i.e. ESM or ES Module) and CommonJS Module format. It can be used in Node.js and browser applications.

Snyk Labs 57 Dec 28, 2022
Get the latest feed of GitHub Stars out there! 🌟 ⭐ ✨

GitHub Stars Feed Get the latest feed of GitHub Stars out there! ⭐ The GitHub Stars program thanks GitHub’s most influential developers and gives them

Vinit Shahdeo 30 Oct 5, 2022
A Leaderboard that shows who has given your stars to your repositories

A Leaderboard that shows who has given your stars to your repositories

Victor Peralta 6 Mar 22, 2022
A jquery plugin that makes images truly responsive, without sacrificing anyone's face. Give it more stars!

Responsify.js A jquery plugin that makes images truly responsive, without sacrificing anyone's face :D When images are used in a responsive container

Wenting Zhang 1.3k Dec 14, 2022
Stars Dulu, Baru Fork!

Dev-3S-Bot 3S~Bot MD Untuk bertanya atau melaporkan bug pribadi Email: [email protected] In Project: Werewolf Presence Update Pokemon Fish Em

ᵈʳᴋᴏᴋᴏ ᴘᴀ፝֟፝֟ɴɢᴇʀᴀɴ 5 Dec 2, 2022
Find related repository by stars.

Related Repos Find related repository by stars. How it works? By analyzing the star activities of users who have starred a specific repository, this t

JustSong 7 May 10, 2023
Silahkan di fork dan jangan lupa stars.nya ya bro...

Chat OWNER Chat BOT (Aktif) BERKAHESPORT.ID OFFICIAL Terimakasih Untuk ALLAH S.W.T. Serta junjungan kami nabi Muhammad S.A.W WhatsappBOT ini menggunak

null 9 May 9, 2023
Ajayi Ridwan 7 Oct 21, 2022
A simple API to interact with Stacks and CityCoins data.

CityCoins API Probably Nothing CF Workers + IttyRouter + micro-stacks + TypeScript ...and it feels good! Things to Note uses simple typed responses an

CityCoins 9 Oct 10, 2022