Skip to content
Riot API, DDragon and CommunityDragon Library for NodeJS
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Exemple Update discordjs_Pyke.js Mar 5, 2019
SRC/Pyke
typings Update index.d.ts Mar 2, 2019
.travis.yml Update .travis.yml Feb 26, 2019
LICENSE Initial commit Jul 6, 2018
README.md
appveyor.yml
main.js Add files via upload Jul 6, 2018
package.json
start.cmd

README.md

Pyke for API RiotGames

NPM Pyke

npm (3.1.1)

  npm i --save pyke

npm github (beta) (3.1.1)

  npm i --save github:systeme-cardinal/Pyke

Installation and Usage

Pyke minimum required Node.JS version >=8.6 for native asynchrone and dependencies. You can help me for create a Wiki of Pyke :)

Library Used

Pyke used RIOT API and Static Dragon actualy DDragon

Version

Version 3.1.1 => Add Typing and add LRU-CACHE for caching RiotGamesAPI
Version 3.1.0 => Update folder name
Version 3.0.0 => Update to V4 of RiotGamesAPI
Version 2.0.0 => Update got and add code
Version 1.1.1 (github) => Add Community Dragon
Version 1.0.9 => Fix error DDragon on my code.
Version 1.0.8 => Replace LolStaticDatav3 by DDragon.
Version 1.0.7 => Add DDragon
Version 1.0.6 => Add JSDOC
Version 1.0.5 => Fix Librairy Riot
Version 1.0.4 => Create reposit Pyke

Example

const {DDragon, Pyke} = require('pyke');

const pyke = new Pyke(`Here my API KEY`, "10"); // 10 seconds to cache
pyke.summoner.getBySummonerName("DoctaEnkoda", "euw1").then(data => {
  console.log(`Summoner Name is : ${data.name}, and level is : ${data.summonerLevel}`);
}).catch(console.error);
You can’t perform that action at this time.