Skip to content

💙 Riot Games API Wrapper for NodeJs and TypeScript!

License

Notifications You must be signed in to change notification settings

Jorgy-hub/Arcane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


About

Arcane.ts is a NodeJs and Typescript wrapper for easier use of the Riot API used for games such as League of Legends, Valorant, TFT; This Wrapper is still on development so I haven't completly covered all of the API.

  • Object-oriented
  • Performant

Installation

npm install --save arcane.ts

Summoner Data Example

const { LeagueClient } = require('arcane.ts');

const client = new LeagueClient("API_KEY", "LEAGUE_VERSION");
const summoner = await client.getSummoner("Scaredy Cat", "la1");

console.log(summoner);

Summoner Mastery Example

const { LeagueClient } = require('arcane.ts');

const client = new LeagueClient("API_KEY", "LEAGUE_VERSION");
const summoner = await client.getSummoner("Scaredy Cat", "la1");
const masteries = await summoner.getMasteries();
const champInfo = await masteries[0].getChampInfo();

console.log(champInfo);

License

Please read the the LICENSE file.


About

💙 Riot Games API Wrapper for NodeJs and TypeScript!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published