
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.
overwatchleague
Advanced tools
A Node.JS library for accessing and using the Overwatch League API
NOTE: The Overwatch League API is not officially supported by Blizzard, and is subject to change at any time. The documentation for the API has been developed by the community, and may or may not be complete. Keep this in mind before relying on this for a production app!
Install overwatchleague
With yarn:
$ yarn install overwatchleague
With NPM:
$ npm install overwatchleague --save
Update: Changed
getWeeksMatches()to include full week instead of 3 days either side. Added new expansion teams.
const OverwatchLeague = require('overwatchleague');
const OWL = new OverwatchLeague();
OWL.findTeamName(4410).then(response => {
console.log(response.data);
});
Output: London Spitfire
new OverwatchLeague({options})
options (object): All options are optional
locale (string): The locale for response to be returned inuseChina (boolean, default false): Whether or not to use the Chinese API endpoint.getLiveMatch() - Returns live data for the current matchgetMatch(matchid) - Returns data for a specific matchgetMatches() - Returns data for all matchesgetWeeksMatches() - Returns data for all matches for the current weekgetConcludedWeek() - Returns data for all matches played during the last weekgetUpcomingWeek() - Returns data for all matches during the upcoming weekgetInfo() - Returns information about the Overwatch LeaguegetSchedule() - Returns current schedule, including past matchesgetMaps() - Returns a list of mapsgetNews() - Returns all news itemsgetNewsPost(postid) - Returns a specific news itemgetStandings(year, stage) - Returns the current standings. The year will default to 2019 if one is not provided. You must provide a year if you are providing a stage. Valid stage values are "stage1", "stage2", "stage3" and "stage4".getStreams() - Returns links to Overwatch League livestreamsgetVideos() - Returns a list of VODs for past matchesgetPlayers(teamid/teamname) - Returns the players for a specific teamgetPlayerStats(playerid) - Returns general & hero specific stats for a playerfindTeamID(teamname) - Returns the ID for the team name providedfindTeamName(teamid) - Returns the name for the team ID providedgetGameDiff(teamid/teamname) - Returns the game difference for a specific teamgetGameLoss(teamid/teamname) - Returns the game losses for a specific teamgetGameTie(teamid/teamname) - Returns the game ties for a specific teamgetGameWin(teamid/teamname) - Returns the game wins for a specific teamgetRankings() - Returns the current rankingsgetMatchDraw(teamid/teamname) - Returns the match draws for a specific teamgetMatchLoss(teamid/teamname) - Returns the match losses for a specific teamgetMatchWins(teamid/teamname) - Returns the match wins for a specific teamgetPrimaryColor(teamid/teamname) - Returns the hex code for a team's primary colorgetSecondaryColor(teamid/teamname) - Returns the hex code for a team's secondary colorgetTeam(teamid/teamname) - Returns a specific teamgetTeamIcon(teamid/teamname) - Returns the URL for a team's icongetTeamLogo(teamid/teamname) - Returns the URL for a team's logogetTeams() - Retrieve all teamsgetWinPCT(teamid/teamname) - Returns the match win percentage for a specific teamnextMatchForTeam(teamid/teamname) - Retrieve the next match for a specific teamlastMatchForTeam(teamid/teamname) - Retrieve the last match for a specific teamThese are the accepted valued for team ID/team name (not case-sensitive)
Teams
Locales
de_DE - Germanen_US - English (United States)en_GB - English (Great Britain)es_ES - Spanish (Spain)es_MX - Spanish (Mexico)fr_FR - Frenchit_IT - Italianpt_BR - Portuguesepl_PL - Polishru_RU - Russianko_KR - Koreanja_JP - Japanesezh_TW - Chinese (Taiwan)zh_CH - Chinese (China)
zh_CH, I recommend using useChina: trueFAQs
A Node.JS library for accessing and using the Overwatch League API
We found that overwatchleague 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.