pyke
TypeScript icon, indicating that this package has built-in type declarations

3.1.1 • Public • Published

Pyke for API RiotGames

NPM Pyke

npm (3.1.0)

  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);

/pyke/

    Package Sidebar

    Install

    npm i pyke

    Weekly Downloads

    51

    Version

    3.1.1

    License

    GPL-3.0

    Unpacked Size

    136 kB

    Total Files

    34

    Last publish

    Collaborators

    • bierque