1.2.1 • Published 2 years ago

battlebit-remastered-ts-api v1.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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

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.

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago