
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
battlegrounds-revisited
Advanced tools
Install via npm:
npm install battlegrounds-revisited
Requiring a module returns API class:
const battlegrounds = require('battlegrounds-revisited')
const api = new battlegrounds(APIKEY)
// Get a player
const res = await api.getPlayers({ names: ['shroud'] })
The main focus of this module is it's ease of use.
For example, getting a player returns its class that contains other properties methods of which can be used:
const res = await api.getPlayers({ names: ['shroud'] })
// Is a member of Player class
const player = res[0]
// Get first match. Match class is returned
const match = player.matches[0].get()
List of all classes returned by a module
Is returned by module when required
Returns a Sample class
Returns a Match class
Note: currently it is not possible to get custom Matches.
Returns a list of Player classes
Note: at least one of those parameters have to be provided, in other cases "MissingParameter" error will be thrown
Returns a Player class
Returns a list of Season classes
Returns a PlayerSeason classes
Represents a Player. If only contains its id, get method has to be called to get full info about itself.
account.x
where x - 32 char hexCalls an API to get Player's full info and returns itself.
Represents a Match. If only contains its id, get method has to be called to get full info about itself.
a-b-b-b-c
where a - 8 char hex, b - 4 char hex, c - 12 char hexbluehole-pubg
Calls an API to get Match's full info and returns itself.
Represents a Match Participant.
a-b-b-b-c
where a - 8 char hex, b - 4 char hex, c - 12 char hexbyplayer
or suicide
account.x
where x - 32 char hexRepresents a team of Participants in a Match
a-b-b-b-c
where a - 8 char hex, b - 4 char hex, c - 12 char hexRepresents an Asset with an attached resource
a-b-b-b-c
where a - 8 char hex, b - 4 char hex, c - 12 char hextelemetry
Fetches Asset content from URL. Returns different objects depending on type (name) of an Asset:
Represents a list of Matches
a-b-b-b-c
where a - 8 char hex, b - 4 char hex, c - 12 char hexbluehole-pubg
Represents a game Season
a-b-b-b-c
where a - 8 char hex, b - 4 char hex, c - 12 char hexQueries all Seasons and finds needed one by id. Returns updated Season class
Represents Player Season stats
FAQs
PUBG Web API wrapper for nodejs
The npm package battlegrounds-revisited receives a total of 2 weekly downloads. As such, battlegrounds-revisited popularity was classified as not popular.
We found that battlegrounds-revisited demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.