
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Brawlhalla API & Keys info: dev.brawlhalla.com
Corehalla: corehalla.com
Install via npm:
$ npm i corehalla
Import the module and connect using your api key:
const bh_api = require('corehalla')('API_KEY');
All methods listed below return custom parsed JSON, easier to use than Brawlhalla's default API JSON format.
Docs on Corehalla's JSON format are being written and will be released soon
// Custom format methods
fetchLeaderboardFormat(options)
fetchPlayerStatsFormat(brawlhalla_id)
fetchClanStatsFormat(clan_id)
search2v2Teams(player_name, region, maxPlayers)
.fetchLeaderboard(options) Uses One Brawlhalla API Call
var options = {
bracket: '1v1', // '1v1' or '2v2'
region: 'all', // 'all', 'us-e', 'us-w', 'eu', 'brz', 'aus', 'sea', 'jap'
page: 1,
player_name: ''
}
bh_api.fetchLeaderboard(options).then(leaderboard => {
})
.catch(err => console.log(err));
.fetchLeaderboardFormat(options) Uses One Brawlhalla API Call
var options = {
bracket: '1v1', // '1v1' or '2v2'
region: 'all', // 'all', 'us-e', 'us-w', 'eu', 'brz', 'aus', 'sea', 'jap'
page: 1,
player_name: ''
}
bh_api.fetchLeaderboardFormat(options).then(leaderboard => {
})
.catch(err => console.log(err));
.findPlayer(player_name, options) Uses One Brawlhalla API Call
var options = {
perfect_match: false,
unique: false
}
bh_api.findPlayer('player_name', options).then(player => {
})
.catch(err => console.log(err));
.findPlayerBySteamID(steam_id) Uses One Brawlhalla API Call
bh_api.findPlayerBySteamID('steam_id').then(player => {
})
.catch(err => console.log(err));
.fetchPlayerStats(brawlhalla_id) Uses One Brawlhalla API Call
bh_api.fetchPlayerStats('brawlhalla_id').then(player_stats => {
})
.catch(err => console.log(err));
.fetchPlayerRanked(brawlhalla_id) Uses One Brawlhalla API Call
bh_api.fetchPlayerRanked('brawlhalla_id').then(player_ranked => {
})
.catch(err => console.log(err));
.fetchPlayerStatsFormat(brawlhalla_id) Uses Two Brawlhalla API Calls
bh_api.fetchPlayerStatsFormat('brawlhalla_id').then(player_stats => {
// Formatted General and Ranked player stats for easier use
})
.catch(err => console.log(err));
.fetchClanStats(clan_id) Uses One Brawlhalla API Call
bh_api.fetchClanStats('clan_id').then(clan_stats => {
})
.catch(err => console.log(err));
.fetchClanStatsFormat(clan_id) Uses One Brawlhalla API Call
bh_api.fetchClanStatsFormat('clan_id').then(clan_stats => {
// Formatted clan stats for easier use
})
.catch(err => console.log(err));
.fetchStaticLegendData(legend_id) Uses One Brawlhalla API Call
// if legend_id is left blank, or is undefined,
// will return static data for all legends.
bh_api.fetchStaticLegendData('legend_id').then(data => {
})
.catch(err => console.log(err));
.search2v2Teams(player_name, region, maxPlayers) Uses (1+maxPlayers) Brawlhalla API Call
bh_api.search2v2Teams('player_name', 'region', maxPlayers).then(teams => {
})
.catch(err => console.log(err));
FAQs
Brawlhalla API Wrapper for Node.js, provided by corehalla.com.
The npm package corehalla receives a total of 3 weekly downloads. As such, corehalla popularity was classified as not popular.
We found that corehalla 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.