2.0.18 • Published 5 years ago

@benjamindendas/annie v2.0.18

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Annie - NodeJS API Wrapper for the RIOT API

Wrapper for the RIOT League Of Legends API, written in NODEJS.

Installing

npm install @benjamindendas/annie --save

Useage

  1. Create an instance
var annie = require('@benjamindendas/annie');
  1. Configure your API Key
annie.config.setApiKey("YOURAPIKEYHERE");
  1. Configure the region you would like to use:
annie.config.setRegion("EUW");
  1. 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

5 years ago

2.0.17

5 years ago

2.0.16

5 years ago

2.0.15

5 years ago

2.0.14

5 years ago

2.0.13

5 years ago

2.0.12

5 years ago

2.0.11

5 years ago

2.0.10

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago