lionelbergen / mundoscript Goto Github PK
View Code? Open in Web Editor NEWNode.js League/LoL/League Of Legends API wrapper, Focus is to be easy to use
Node.js League/LoL/League Of Legends API wrapper, Focus is to be easy to use
I know the image links are available in DDragon (in profileIcon.json) but I don't know how to get the ID that corresponds to one of those icons.
Enhancement feature request - Create new methods to make it easier to retrieve data from the new getMatch() in MATCH-V5
Examples of data that can be retrieved:
@LionelBergen You can assign this to me if you like as I have a good idea of how this can be achieved.
There's a few endpoints in the riot API for Valorant. Is there any plan to put those in this package or is this package mainly for league?
When I make a basic call getActiveMatches(accountInfo)
I get the following returned back to me:
(node:8488) UnhandledPromiseRejectionWarning: TypeError: fullPerks.getByPerkIds is not a function
at replaceObjectFoundByKeyRunes (/node_modules/leagueapiwrapper/LeagueAPI/LeagueAPI.js:467:25)
at replaceObjectFoundByKeyRunes (/node_modules/leagueapiwrapper/LeagueAPI/LeagueAPI.js:462:7)
at replaceObjectFoundByKeyRunes (/node_modules/leagueapiwrapper/LeagueAPI/LeagueAPI.js:462:7)
at replaceObjectFoundByKeyRunes (/node_modules/leagueapiwrapper/LeagueAPI/LeagueAPI.js:462:7)
at replaceObjectKeysWithValues (/node_modules/leagueapiwrapper/LeagueAPI/LeagueAPI.js:438:2)
at loadObject (/node_modules/leagueapiwrapper/LeagueAPI/LeagueAPI.js:242:3)
at /node_modules/leagueapiwrapper/LeagueAPI/LeagueAPI.js:231:4
at processTicksAndRejections (internal/process/task_queues.js:97:5)
My code that's calling this is a very, very basic call, because I am still familiarizing myself with what data I can get.
leagueAPI.getActiveGames(accountInfo).then(data => {
console.log('data =', data);
});
I have confirmed that my accountInfo
parameter is populated from a call right after initialization of the API. The getActiveMatches
call is made much later, so that shouldn't be a problem.
If you'd like anything else, please let me know. Or let me know what I'm doing wrong, because it could always be something silly like that.
Match-V4 support is being deprecated on September 13, 2021.
Match-V5 is now available for production keys.
For this library to stay relevant it will need Match-V5 support.
Hello, how are you? I use your api to see the ranked data, but I was looking these days and an empty array is returning, could you take a look?
Follow link demonstrating
https://prnt.sc/wjg11u
More of a question than an issue:
Regarding items, I know within 'participants' each entry has 'item0', 'item1', etc, but how would one go about translating those ids into item names? Similarly, when it comes to runes I can see entries regarding perk0, perk0var1, etc, but where can we translate those id values into the corresponding rune names?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.