Giter Club home page Giter Club logo

brawlstars-nodejs's Introduction

brawlstars.js

brawlstars.js is an API wrapper for Brawl Stars in Javascript. This uses the Official Brawl Stars API to gather data.

Getting Started

  1. Head to the Official Brawl Stars API.
  2. Create a new account.
  3. After creating a account, go to your account.
  4. Create a new token. Name it anything, put any description, and for the IP, add the IP address where you will be requesting from.
  5. Hit create token, then click on the token, and your token will show up. This is basically your access key to the API.

⚠️ Please make sure you have a token to start this, if not, refer to Getting Started ⚠️

  1. Run in your console npm install brawlstars.js
  2. You're done!
const BrawlStars = require("brawlstars.js")
const token      = "Your Token"
const client     = new BrawlStars.Client(token)

;(async() => {
  const player     = await client.getPlayer("#PLAYERTAG")
  const playerClub = await client.getClub(player.club.tag)
})()

Documentation

Available here

Support

Discord Support Server

brawlstars-nodejs's People

Contributors

cilooth avatar dannyhpy avatar dev-dibster avatar wdiogolo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.