2.0.18 • Published 7 years ago
@benjamindendas/annie v2.0.18
Annie - NodeJS API Wrapper for the RIOT API
Wrapper for the RIOT League Of Legends API, written in NODEJS.
Installing
npm install @benjamindendas/annie --saveUseage
- Create an instance
var annie = require('@benjamindendas/annie');- Configure your API Key
annie.config.setApiKey("YOURAPIKEYHERE");- Configure the region you would like to use:
annie.config.setRegion("EUW");- Make the API calls using the supplied methods.
Available endpoints:
- CHAMPION-MASTERY-V4
- getChampionMasteriesBySummonerId
- getChampionMasteryBySummonerIdAndChampionId
- getMasteryScoreBySummonerId
- CHAMPION-V3
- getFreeChampionRotation
- LEAGUE-V4
- getChallengerLeaguesByQueue
- getRankInformationBySummonerId
- getListOfSummonersInLeagueAndDivision
- getListOfGrandMastersInQueue
- getLadderForLeague
- getMasterLadderByQueue
- LOL-STATUS-V3
- getShardData
- MATCH-V4
- getMatchById
- getMatchlistByAccount
- getTimeLinesByMatchId
- getMatchesByTournamentCode
- getMatchFromTournament
- SPECTATOR-V4
- getFeaturedGames
- SUMMONER-V4
- getSummonerBySummonername
- getSummonerByAccount
- getSummonerByPuuid
- getSummonerByEncryptedSummonerId
Available constants:
- Division: containing all the divisions in League Of Legends
const {BRONZE,DIAMOND,GOLD,IRON,PLATINUM,SILVER} = annie.divisions;- Tier: containing all the tiers in League of Legends:
const {I, II,III,IIII} = annie.tiers;- modes: Containing the gamemodes used in various stats api calls, not to be confused with gamemodes
const {RANKED_FLEX_SR, RANKED_FLEX_TFT, RANKED_SOLO_5x5, RANKED_TFT} = annie.modes;- gamemodes:
All possible versions of League Of legends (playable modes)- gametypes
- seasons
- maps
- queue's
2.0.18
7 years ago
2.0.17
7 years ago
2.0.16
7 years ago
2.0.15
7 years ago
2.0.14
7 years ago
2.0.13
7 years ago
2.0.12
7 years ago
2.0.11
7 years ago
2.0.10
7 years ago
2.0.9
7 years ago
2.0.8
7 years ago
2.0.7
7 years ago
2.0.6
7 years ago
2.0.5
7 years ago
2.0.4
7 years ago
2.0.3
7 years ago
2.0.2
7 years ago
2.0.1
7 years ago
2.0.0
7 years ago
1.0.0
7 years ago