Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 1.3 KB

README.md

File metadata and controls

65 lines (48 loc) · 1.3 KB

BrawlBio.js

An Official NPM Library For BrawlBio That Allows You To Interact With BrawlBio API Easily.

Install

npm i brawlbio.js

Usage

const brawlbio = require('brawlbio.js')

brawlbio('TOKEN')
brawlbio.search('Type', 'Slug/Tag').then((data) => { 
// some action  
})
  • Example

brawlbio('VkRCVERrVZOVVZVVhhW...')
brawlbio.search('user', 'joe').then((data) => { 
  // output data
  console.log(data)
  
})
 
// Output Data Should Be
{
  type: 'get-user',
  tag: '82PGQVJ2L',
  slug: 'joe',
  user: 'Joe Lee | イサム(469091175517782018)'
}

// Output Data ( without token )
{
  type: 'get-user',
  tag: '82PGQVJ2L',
  slug: 'joe'
}
  • Types

GetBy-User : user GetBy-Tag : tag
  • Token

BrawlBio require users to request its API with an api-token in order to get complete response data from BrawlBio. Click Here To Learn More About Getting A Token.

brawlbio('YOUR_TOKEN')

Support

Join Our Official BrawlBio Community Server To Get Help.

Credits

Owner : @joeleeofficial <[email protected]>
This project is licensed under the terms of Apache 2.0 License