
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
owapi is a module to get full detailed stats about a player on specified mode (quickplay, competitive) or even a specified platform!
owapi is a module to get full detailed stats about a player on specified mode (quickplay, competitive) or even a specified platform!
const owapi = require('owapi');
const stats = await owapi.getAllStats('Trev-11289', 'pc');
console.log(stats)
'PLAYER_NOT_EXIST'Example:
const generalData = await owapi.general('totally-not-existing-user', platform).catch((err) => {
if (err === 'PLAYER_NOT_EXIST') {
res.send('This player doesn\'t exist D:')
return;
}
});
...
'ACCOUNT_PRIVATE'Example:
const generalData = await owapi.general('some-user-with-private-account', platform).catch((err) => {
if (err === 'ACCOUNT_PRIVATE') {
res.send('This player account is private D:')
return;
}
});
Return general stats about a player such as level, rank, profile icon and more.
Example output:
{
"rank": 3935,
"rank_name": "master",
"profile": "https://d15f34w2p8l1cc.cloudfront.net/overwatch/8fb752e425af261dff0c2fb39535e06f9b110dfafcde7c8df321bc836811ba59.png"
}
Return detailed stats on a mode about a player
Get everything from Playoverwatch.com.
Alt to:
const html = await owapi.getRawHtmlFromBtag(btag, platform);
const generalData = await owapi.general(btag, platform, html);
const quickplayData = await owapi.getModeStats(btag, 'quickplay', platform, html);
const competitiveData = await owapi.getModeStats(btag, 'competitive', platform, html);
const allStats = Object.assign(generalData, {quickplay: quickplayData}, {competitive: competitiveData});
Just reply what's coming out from https://playoverwatch.com/en-us/search/account-by-name/
Reminder: It reject 'PLAYER_NOT_EXIST' if user doesn't exist.
Just reply what's coming out from https://playoverwatch.com/en-us/career/:platform/:btag
Return an array of platforms owapi uses.
Copyright (c) 2021 Haskaalo
Licensed under MIT License
FAQs
owapi is a module to get full detailed stats about a player on specified mode (quickplay, competitive) or even a specified platform!
We found that owapi 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 Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.