Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

javilobo8/lobobot-riot-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lobobot-riot-api

Another NodeJS wrapper for Riot API

Features

Installation

npm i -S lobobot-riot-api

Usage

const RiotAPI = require('lobobot-riot-api');

const api = RiotAPI({
  keys: {
    lolKey: 'XXXX',
    tftKey: 'XXXX',
    lorKey: 'XXXX',
    valKey: 'XXXX',
  }
});

api.tft.summonerV1.byName('EUW', 'Lobo Bot')
  .then((data) => {
    /*
    {
      id: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
      accountId: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
      puuid: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
      name: 'Lobo Bot',
      profileIconId: 773,
      revisionDate: 1589927796000,
      summonerLevel: 97
    }
    */
  });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published