Skip to content

augustinbegue/lol-api-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lol-api-wrapper

NodeJS wrapper for the League of Legends and Summoner parts of the RIOT Games API (https://developer.riotgames.com/)

Documentation

This wrapper is still a work in progress. It currently implements the following APIs:

Usage

sh npm install lol-api-wrapper

const { RiotApiWrapper } = require("lol-api-wrapper");

const api = new RiotApiWrapper("RIOT-API-KEY");

// Get summoner by name
api.getSummonerByName("EUW1", "SummonerName")
    .then((summoner) => {
        console.log(summoner);
    })
    .catch((err) => {
        console.log(err);
    });

About

NodeJS wrapper for the League of Legends and Summoner parts of the RIOT Games API (https://developer.riotgames.com/)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published