Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

brawl-stars-api

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brawl-stars-api - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json
{
"name": "brawl-stars-api",
"version": "0.0.4",
"version": "0.0.5",
"description": "An API Wrapper for Brawl Stars API",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -1,1 +0,39 @@

# brawl-stars-api
# brawl-stars-api
An API Wrapper for [Brawl Stars API](https://developer.brawlstars.com)
# Installation
`npm install --save brawl-stars-api`
# Initialization
```js
const brawlApi = require('brawl-stars-api');
const client = new brawlApi({
token: 'Token'
})
```
You can also use `BS_API_TOKEN` env variable for the token
## How to get a token?
You can get your token [here](https://developer.brawlstars.com)
## Club Search By Tag
```js
client
.clubByTag('#VQJPJY0L')
.then(res => console.log(res))
.catch(err => console.log(err));
```
## Player Search By Tag
```js
client
.playerByTag('#VQJPJY0L')
.then(res => console.log(res))
.catch(err => console.log(err));
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc