To consume a service, perform a GET request on api.elophant.com/v2/<region>/<resource>. Remember, you must include your developer key for authentication (<resource>?key=).
Each developer is currently rate-limited to 1,000 calls every 15 minutes. We highly discourage making an unreasonable amount of requests (100 calls/second).
All calls now return the proper content-type for Json. Also, the number of requests remaining has been added to the header. This value is updated immediately.
The regions we current support include: NA, EUW, EUNE, and BR.
|GET summoner||string summonerName||Returns a summoner's accountId, summonerId, account level, and profile icon id.|
|GET in_progress_game_info||string summonerName||Returns the player information for both teams, bans (if draft or ranked), and observer information.|
|GET mastery_pages||int summonerId||Returns an array with each mastery book page and subsequent talent point entries for a specific summoner.|
|GET rune_pages||int summonerId||Returns an array with each rune page and subsequent runes for a specific summoner.|
|GET ranked_stats||int accountId, string season||Returns every statistic for every champion accumulated from all ranked game types for a specified summoner and season.|
|GET recent_games||int accountId||Returns the statistics for a summoner's 10 most recent games.|
|GET summoner_names||CSV array summonerIds||Returns an array of summoner names in the same order as provided in the parameter summonerIds.|
|GET leagues||int summonerId||Returns the current League for the requested summonerId, including all players within the League.|
|GET summoner_team_info||int summonerId||Returns all team info regarding the specified summoner, including team overviews and all of the teams the summoner has created.|
|GET team||string teamId||Returns a brief overview of a team, including gameType dependent Elos, the current roster, and basic match history statistics.|
|GET find_team||string tagOrName||Returns a brief overview of a team, including gameType dependent Elos, the current roster, and basic match history statistics.|
|GET team_end_of_game_stats||string teamId, double gameId||Returns very detailed statistics about the specified match.|
|GET team_ranked_stats||string teamId||Returns each team member's statistics for the specified team. This call provides very similar results to getRankedStats.|