brawldata.js
v1.0.1
Published
API Wrapper for BrawlAPI
Downloads
8
Maintainers
Readme
brawldata.js
API Wrapper for BrawlAPI.
Getting Started
- To install this package, in your console run:
npm install brawldata.js
- You have now installed the package!
Example
const brawldata = require("brawldata.js")
const client = new brawldata.Client()
;(async() => {
const events = await client.getEvents()
const brawlers = await client.getBrawlers()
console.log(brawlers)
//...
})()
For specific object properties, official api can be found here.
Some methods contain data that are only provided by Brawlify. Be sure to credit Brawlify when accessing those endpoints. Endpoints include:
- Events
- Brawlers
- Maps
- Records
This package uses data collected by Brawlify.