Chemist v0.4.0 Chemist.Stats
Uses stats-v1.3 API.
Summary
Functions
Contains ranked stats information; retrieved by summoner id
Contains player stats summary information; retrieved by summoner id
Functions
Contains ranked stats information; retrieved by summoner id.
Default opts:
season: defaults to current season
- Specifies ranked season from which to gather data.
Possible values:
- SEASON3
- SEASON2014
- SEASON2015
- SEASON2016
- SEASON2017
Sample output:
{:ok,
%{"champions" => [%{"id" => 75,
"stats" => %{"maxChampionsKilled" => 6, "maxNumDeaths" => 7,
"mostChampionKillsPerSession" => 6, "mostSpellsCast" => 0,
"totalAssists" => 22, "totalChampionKills" => 18,
"totalDamageDealt" => 465145, "totalDamageTaken" => 124065,
"totalDeathsPerSession" => 20, "totalDoubleKills" => 1,
"totalFirstBlood" => 0, "totalGoldEarned" => 47122,
"totalMagicDamageDealt" => 251986, "totalMinionKills" => 710,
"totalPentaKills" => 0, "totalPhysicalDamageDealt" => 211682,
"totalQuadraKills" => 0, "totalSessionsLost" => 3,
"totalSessionsPlayed" => 4, "totalSessionsWon" => 1,
"totalTripleKills" => 0, "totalTurretsKilled" => 1,
"totalUnrealKills" => 0}},
...
],
"modifyDate" => 1488042401000, "summonerId" => 51666047}}
Contains player stats summary information; retrieved by summoner id.
Default opts:
season: defaults to current season
- Specifies ranked season from which to gather data.
Possible values:
- SEASON3
- SEASON2014
- SEASON2015
- SEASON2016
- SEASON2017
Sample output:
{:ok,
%{"playerStatSummaries" => [%{"aggregatedStats" => %{"totalAssists" => 40,
"totalChampionKills" => 42, "totalMinionKills" => 920,
"totalNeutralMinionsKilled" => 29, "totalTurretsKilled" => 3},
"modifyDate" => 1481137880000, "playerStatSummaryType" => "CAP5x5",
"wins" => 5},
...
],
"summonerId" => 51666047}}