lolstats-riotapi

1.4.0 • Public • Published

lolstats-riotapi

npm install --save lolstats-riotapi

Usage

const RiotApi = require('lolstats-riotapi');

const api = new RiotApi('<YOUR-API-KEY>');

api.SummonerV3.getSummonerByName('EUW', 'Lobo Bot')
  .then(({data}) => {
    console.log(data);
  })
  .catch((err) => {
    console.error(err);
  });

Readme

Keywords

Package Sidebar

Install

npm i lolstats-riotapi

Weekly Downloads

2

Version

1.4.0

License

ISC

Last publish

Collaborators

  • javilobo8