
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.
lol-esports-api-module
Advanced tools
A wrapper module for League of Legends' eSports API. In the documentation below there will be references to the official methods used for each method.
All methods can be either used with a callback method or as a promise
lol-esports-api-module is installable via:
git clone https://github.com/Pupix/lol-esports-api-module.gitnpm install lol-esports-api-modulevar API = require('lol-esports-api-module'),
api = new API();
api.getTeamById(684, function (err, data) {
console.log(data);
});
=> {
"name": "SK Telecom T1",
"bio": "SKT T1 was once considered...",
"roster": {
"players0": {
"playerId": "692",
"name": "Faker",
"role": "Mid Lane",
"isStarter": 1
},
...
},
"logoUrl": "http://riot-web-cdn.s3-us-west-1.amazonaws.com/lolesports/s3fs-public/skt.png",
"profileUrl": "http://euw.lolesports.com/node/684",
"teamPhotoUrl": "http://euw.lolesports.com/",
"acronym": "SKT"
}
api.getTeamById(684).then(function (data) {
console.log(data);
});
=> {
"name": "SK Telecom T1",
"bio": "SKT T1 was once considered ...",
"roster": {
"players0": {
"playerId": "692",
"name": "Faker",
"role": "Mid Lane",
"isStarter": 1
},
...
},
"logoUrl": "http://riot-web-cdn.s3-us-west-1.amazonaws.com/lolesports/s3fs-public/skt.png",
"profileUrl": "http://euw.lolesports.com/node/684",
"teamPhotoUrl": "http://euw.lolesports.com/",
"acronym": "SKT"
}
Whenever possible, if a configuration Object (referred as opt in the documentation) is not required the callback can be passed directly as first parameter to all methods.
Articles
Organizational
Static
Stats
Programming
### getNews(opt, callback)Returns the latest news from lolesports.
Parameters
(error, data) as parameters.Returns basic information on all existing leagues from lolesports.
Parameters
(error, data) as parameters.Returns basic information about a league on lolesports.
Parameters
(error, data) as parameters.Returns basic information on all existing tournaments from lolesports.
Parameters
(error, data) as parameters.Returns basic information about a tournament on lolesports.
Parameters
(error, data) as parameters.Returns the schedule of matches for the specified tournament.
Parameters
(error, data) as parameters.Returns the standings for the specified tournament.
Parameters
(error, data) as parameters.Returns basic information on all existing series from lolesports.
Parameters
(error, data) as parameters.Returns basic information about a series on lolesports.
Parameters
(error, data) as parameters.Returns basic information about a match including name, tournament information, and live streams.
Parameters
(error, data) as parameters.Returns basic information about a game including players, tournament information, and videos on demand.
Parameters
(error, data) as parameters.Returns basic information about a team including players, name, and profile url on lolesports.
Parameters
(error, data) as parameters.Returns basic information about a player including name, bio, and profile url.
Parameters
(error, data) as parameters.Returns fantasy stats for entire tournament.
Parameters
(error, data) as parameters.Returns the greatest stat for a particular tournament.
Parameters
(error, data) as parameters.Returns a team's stats for the entire tournament or tournament series.
Parameters
(error, data) as parameters.Returns a player's stats for the entire tournament or tournament series.
Parameters
(error, data) as parameters.Returns kda, average gold and gpm for all players of a specified tournament.
Parameters
(error, data) as parameters.Returns kda, average gold and gpm for one player in a specified tournament.
Parameters
(error, data) as parameters.Returns kda, average gold and gpm on different champions for one player in a specified tournament.
Parameters
(error, data) as parameters.Returns all programming blocks.
Parameters
(error, data) as parameters.Returns a programming block.
Parameters
(error, data) as parameters.Returns a weeks programming blocks.
Parameters
(error, data) as parameters.FAQs
A wrapper for League of Legends' eSports API
The npm package lol-esports-api-module receives a total of 6 weekly downloads. As such, lol-esports-api-module popularity was classified as not popular.
We found that lol-esports-api-module 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.