New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

battlebit-remastered-ts-api

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

battlebit-remastered-ts-api

This wrapper contains easy-to-use access to BattleBits public api.

1.2.1
latest
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

BattleBitRemastered-Api

This wrapper contains easy-to-use access to BattleBits public api.

Currently suppported methods:

  • Servers/GetServerList
  • Leaderboard/Get

Table of Contents

  • Getting Started
  • Prerequisites
  • Installation
  • Usage
  • Contributing
  • License

Getting Started

Prerequisites

At least Node 18 is required, as this wrapper uses node 18's internal fetch

Installation

To install run

npm install battlebit-remastered-ts-api

Usage

The main point of entry is the client, which can be initialized as follows:

const client = new BBRClient();

From there, you can call the getServers method, which returns the list of servers.

//Types are also exposed and documented for easy navigation
const servers: Servers = await client.getServers();

Contributing

Found any bugs? Please create a ticket in the Issues section: Issue-tracker-github

Want to add an improvement? Please create a pull request with a proper description of what changed and why: Pull-Requests-github

License

The source code for this wrapper is licensed under the MIT license, which you can find in the MIT-LICENSE.txt file.

FAQs

Package last updated on 17 Oct 2023

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