
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@endbug/overwatch-stats-api
Advanced tools
Get stats from Blizzard's career profile pages.
https://playoverwatch.com/en-us/career/PLATFORM/BATTLETAG
Gets rank level, endorsements, hero stats and most played time for quickplay and competitive.
import * as owapi from '@endbug/overwatch-stats-api'
(async () => {
const stats = await ow.getAllStats('xQc-11273', 'pc');
console.log(stats);
})();
getAllStats()
and cache it for some time, using each part as needed since accessing and downloading the whole page multiple times for each different section of stats will result in excessive hits to Blizzard's site and could potentially lead to ratelimits.You can see the actual results of the commands by using the interactive demo on RunKit.
There are pre-compiled example responses in the examples
directory of this repo.
battletag
are Blizzard battletags in the "NAME-DISCRIMINATOR"
format (e.g. "xQc-11273"
) and are case sensitive.
platform
can be either pc
, xbl
or psn
for PC, Xbox Live and PlayStation Network profiles respectively.
getAllStats(battletag, platform)
Get all stats from other 3 methods combined.
getBasicInfo(battletag, platform)
Get basic info like rank, level, endorsements and link to profile, stars and border images.
getHeroStats(battletag, platform)
Get hero stats for competitive and quickplay with categories under each hero and an "overall" hero for overall stats in that mode.
getMostPlayed(battletag, platform)
Get the most played heros for competitive and quickplay with a HH:MM:SS time string and link to their thumbnail image in descending order of time played.
These methods return promises that are sometimes rejected with an Error
:
Error('PROFILE_NOT_FOUND');
Error('PROFILE_PRIVATE');
This package is forked from overwatch-stats-api
by @fatchan
FAQs
Get stats from blizzard career profile pages
The npm package @endbug/overwatch-stats-api receives a total of 0 weekly downloads. As such, @endbug/overwatch-stats-api popularity was classified as not popular.
We found that @endbug/overwatch-stats-api 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.