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

node-brawl-stars-api

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-brawl-stars-api

Easy Api for Brawl Stars

  • 2.0.3
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Brawl Stars Api

  • RUS: Node.JS библиотека для быстрого и легкого взаимодействия с API Brawl Stars
  • ENG: Node.JS library for quick and easy interaction with the Brawl Stars API

Установка | Download

$ npm i node-brawl-stars-api

Использование | Using

const BrawlApi = require('node-brawl-stars-api');
const api = new BrawlApi("token");

Как получить токен? | How to get a token?

  • RUS:
  • Переходим на сайт https://developer.brawlstars.com/#/
  • Нажимаем на Register и регистрируем аккаунт
  • После регистрации, заходим в аккаунт
  • Нажимаем на свое имя и My Account
  • Нажимаем Create New Key
  • Заполняем данные
  • 1 KEY NAME - любое название для ключа
  • 2 DESCRIPTION - любое описание для ключа
  • 3 ALLOWED IP ADDRESSES - айпи адрес, с которого вы будете отправлять запросы
  • Нажимаем Create Key и получаем заветный токен
  • ENG:
  • Go to the website https://developer.brawlstars.com/#/
  • Click on Register and register an account
  • After registration, log in to your account
  • Click on your name and My Account
  • Click Create New Key
  • Filling in the data
  • 1 KEY NAME - any name for the key
  • 2 DESCRIPTION - any description for the key
  • 3 ALLOWED IP ADDRESSES - the IP address from which you will send requests
  • Click Create Key and get the coveted token

Примеры | Examples

Узнаем информацию о игроке | Find out information about the player

  • Пример кода: | Example a code:
(async () =>{
    const result = await api.GetUserInfo(tag)
    console.log(result)
})()
  • RUS:
  • Парамент "tag" - тег игрока, без # (пример - VL8VCORJ)
  • ENG:
  • The "tag" segment is the player's tag, without # (example - VL8VCORJ)

Узнаем информацию о клубе | Find out information about the club

  • Пример кода: | Example a code:
(async () =>{
    const result = await api.GetClubInfo(tag)
    console.log(result)
})()
  • RUS:
  • Парамент "tag" - тег клуба, без # (пример - 2GJ8GV28G)
  • ENG:
  • The "tag" segment is the club's tag, without # (example - 2GJ8GV28G)

Официальная группа ы телеграм | Official group on telegram

https://t.me/node_brawl_stars_api

Списки изменений | ChangeLogs:

2.0.3 (Patch)

  • RUS: Исправление ошибок
  • ENG: Bugs fixed

2.0.2 (Patch)

  • RUS: Исправление ошибок
  • ENG: Bugs fixed

2.0.1 (Patch)

  • RUS: Улучшена работа API
  • ENG: Improved API operation

2.0.0 (Release)

  • RUS:
  • Релиз API
  • Добавлена функция информации клуба
  • Исправлены баги
  • ENG:
  • Release API
  • Added club information feature
  • Bugs fixed

1.0.2 (Patch)

  • RUS: Исправление ошибок
  • ENG: Bugs fixed

1.0.1 (Patch)

  • RUS: Добавление новых функций
  • ENG: Added a new functions

1.0.0 (Created)

  • RUS: Создание Brawl Stars Api и тестирование первой функции
  • ENG: Create The Brawl Stars Api and Testing First Function

FAQs

Package last updated on 22 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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