0.6.0 • Published 2 years ago

loldata.js v0.6.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

League Of Legends API

This project utilize the Riot Games Official API

To initialize this follow the bellow steps:

Installing

To install utilize this in your terminal:

  npm install loldata.js
- Warning: This Project Only Will Work In Node 17 Or Node 18

Initializing The Project

  import LolApi from 'loldata.js';
  
  const lolApi = new LolApi(api_key);
ParameterTypeRequired
api_keystringTrue

Receiving A User

  const user = await lolApi.searchUser(nickname);
ParameterTypeRequired
nicknamestringTrue

Receiving The Current Rotation

  const rotation = await lolApi.rotation();

Receiving Ranked Informations

  const user = await lolApi.rankUser(nickname);
ParameterTypeRequired
nicknamestringTrue

Receiving Last Match Informations

  const user = await lolApi.lastMatch(nickname);
ParameterTypeRequired
nicknamestringTrue

Receiving Actual Match Informations

  const user = await lolApi.inGame(nickname);
ParameterTypeRequired
nicknamestringTrue
0.6.0

2 years ago

0.5.1

2 years ago

0.5.4

2 years ago

0.4.4

2 years ago

0.4.3

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago