riot_lol_api 0.1.12 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +86 -69
- data/curl_import.rb +226 -0
- data/lib/core_ext/hash.rb +1 -1
- data/lib/riot_lol_api/{client.rb → clients.rb} +9 -7
- data/lib/riot_lol_api/helper_classes.rb +22 -0
- data/lib/riot_lol_api/model/{aggregated_stat.rb → aggregated_stats.rb} +0 -0
- data/lib/riot_lol_api/model/{altimage.rb → altimages.rb} +0 -0
- data/lib/riot_lol_api/model/{block.rb → blocks.rb} +2 -2
- data/lib/riot_lol_api/model/champions.rb +23 -0
- data/lib/riot_lol_api/model/class_base.rb +14 -0
- data/lib/riot_lol_api/model/creepspermindeltas.rb +14 -0
- data/lib/riot_lol_api/model/csdiffpermindeltas.rb +14 -0
- data/lib/riot_lol_api/model/damagetakendiffpermindeltas.rb +13 -0
- data/lib/riot_lol_api/model/damagetakenpermindeltas.rb +14 -0
- data/lib/riot_lol_api/model/{datum.rb → data.rb} +0 -0
- data/lib/riot_lol_api/model/effects.rb +14 -0
- data/lib/riot_lol_api/model/{entry.rb → entries.rb} +0 -0
- data/lib/riot_lol_api/model/{fellow_player.rb → fellow_players.rb} +0 -0
- data/lib/riot_lol_api/model/{game.rb → games.rb} +3 -3
- data/lib/riot_lol_api/model/goldpermindeltas.rb +14 -0
- data/lib/riot_lol_api/model/{gold.rb → golds.rb} +0 -0
- data/lib/riot_lol_api/model/{image.rb → images.rb} +0 -0
- data/lib/riot_lol_api/model/{info.rb → infos.rb} +0 -0
- data/lib/riot_lol_api/model/{item.rb → items.rb} +4 -3
- data/lib/riot_lol_api/model/{league.rb → leagues.rb} +3 -3
- data/lib/riot_lol_api/model/{leveltip.rb → leveltips.rb} +0 -0
- data/lib/riot_lol_api/model/{map.rb → maps.rb} +0 -0
- data/lib/riot_lol_api/model/{mastery.rb → masteries.rb} +0 -0
- data/lib/riot_lol_api/model/matches.rb +14 -0
- data/lib/riot_lol_api/model/{mini_sery.rb → mini_series.rb} +0 -0
- data/lib/riot_lol_api/model/{page.rb → pages.rb} +3 -3
- data/lib/riot_lol_api/model/participantidentities.rb +13 -0
- data/lib/riot_lol_api/model/participants.rb +14 -0
- data/lib/riot_lol_api/model/{passive.rb → passives.rb} +2 -2
- data/lib/riot_lol_api/model/{player_stat_rank.rb → player_stat_ranks.rb} +2 -2
- data/lib/riot_lol_api/model/{player_stat_summary.rb → player_stat_summaries.rb} +2 -2
- data/lib/riot_lol_api/model/players.rb +13 -0
- data/lib/riot_lol_api/model/{recommended.rb → recommendeds.rb} +2 -2
- data/lib/riot_lol_api/model/{rune.rb → runes.rb} +0 -0
- data/lib/riot_lol_api/model/{skin.rb → skins.rb} +0 -0
- data/lib/riot_lol_api/model/{slot.rb → slots.rb} +0 -0
- data/lib/riot_lol_api/model/{spell.rb → spells.rb} +5 -5
- data/lib/riot_lol_api/model/{stat.rb → stats.rb} +0 -0
- data/lib/riot_lol_api/model/{summoner.rb → summoners.rb} +42 -11
- data/lib/riot_lol_api/model/timelines.rb +16 -0
- data/lib/riot_lol_api/model/{var.rb → vars.rb} +0 -0
- data/lib/riot_lol_api/model/xpdiffpermindeltas.rb +14 -0
- data/lib/riot_lol_api/model/xppermindeltas.rb +14 -0
- data/lib/riot_lol_api/models.rb +8 -0
- data/lib/riot_lol_api/version.rb +1 -1
- data/lib/riot_lol_api.rb +4 -2
- data/riot_lol_api.gemspec +6 -4
- data/spec/factories/game.rb +6 -6
- data/spec/factories/page.rb +1 -1
- data/spec/factories/summoner.rb +3 -3
- data/spec/mock_response/get_all_champions_by_ids.json +3 -3
- data/spec/mock_response/get_all_champions_by_ids_all_data.json +3 -3
- data/spec/mock_response/get_all_item.json +3 -3
- data/spec/mock_response/get_all_masteries.json +3 -3
- data/spec/mock_response/get_all_runes.json +3 -3
- data/spec/mock_response/get_all_summoner_spells.json +3 -3
- data/spec/mock_response/get_all_summoner_spells_by_ids.json +3 -3
- data/spec/mock_response/get_champion_by_id.json +2 -2
- data/spec/mock_response/get_champion_by_id_all_data.json +3 -3
- data/spec/mock_response/get_item_by_id.json +3 -3
- data/spec/mock_response/get_mastery_by_id.json +3 -3
- data/spec/mock_response/get_match_by_id.json +13 -0
- data/spec/mock_response/get_match_history.json +13 -0
- data/spec/mock_response/get_player_league.json +5 -3
- data/spec/mock_response/get_player_stat_ranked.json +4 -3
- data/spec/mock_response/get_player_stat_summaries.json +5 -5
- data/spec/mock_response/get_realm.json +4 -4
- data/spec/mock_response/get_rune_by_id.json +2 -2
- data/spec/mock_response/get_summoner_by_id.json +5 -4
- data/spec/mock_response/get_summoner_by_name.json +5 -4
- data/spec/mock_response/get_summoner_games_by_id.json +4 -3
- data/spec/mock_response/get_summoner_masteries_by_id.json +5 -4
- data/spec/mock_response/get_summoner_runes_by_id.json +5 -4
- data/spec/mock_response/get_summoner_spell_by_id.json +3 -3
- data/spec/mock_response/get_version.json +4 -4
- data/spec/mock_response/summoner.json +13 -0
- data/spec/riot_lol_api_spec.rb +559 -608
- metadata +83 -33
- data/lib/riot_lol_api/model/champion.rb +0 -23
- data/lib/riot_lol_api/model.rb +0 -8
@@ -0,0 +1,13 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Access-Control-Allow-Headers: Content-Type
|
3
|
+
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
|
+
Access-Control-Allow-Origin: *
|
5
|
+
Content-Type: application/json; charset=UTF-8
|
6
|
+
Date: Tue, 17 Feb 2015 21:23:47 GMT
|
7
|
+
Server: Jetty(9.1.5.v20140505)
|
8
|
+
Vary: Accept-Encoding, User-Agent
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTUVVSBQYBUEYdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMB0UVZE1OChoAb0pUAEUCWz5LW1YVBQtxVxJIUUwHHQdIVQgPAFtfVk4dUxRAW1sEBgEEDlMHAApVBgMAQzs=
|
10
|
+
transfer-encoding: chunked
|
11
|
+
Connection: keep-alive
|
12
|
+
|
13
|
+
{"matchId":1617870200,"region":"EUW","platformId":"EUW1","matchMode":"CLASSIC","matchType":"MATCHED_GAME","matchCreation":1407805080128,"matchDuration":2224,"queueType":"RANKED_SOLO_5x5","mapId":1,"season":"SEASON2014","matchVersion":"4.13.0.281","participants":[{"teamId":100,"spell1Id":11,"spell2Id":4,"championId":32,"highestAchievedSeasonTier":"UNRANKED","timeline":{"creepsPerMinDeltas":{"zeroToTen":0.1,"tenToTwenty":0.8,"twentyToThirty":1.2,"thirtyToEnd":1.4},"xpPerMinDeltas":{"zeroToTen":303.3,"tenToTwenty":425.1,"twentyToThirty":497.3,"thirtyToEnd":662.0},"goldPerMinDeltas":{"zeroToTen":202.5,"tenToTwenty":295.6,"twentyToThirty":363.0,"thirtyToEnd":386.6},"damageTakenPerMinDeltas":{"zeroToTen":387.20000000000005,"tenToTwenty":829.0999999999999,"twentyToThirty":1013.2,"thirtyToEnd":1349.8},"role":"DUO_SUPPORT","lane":"MIDDLE"},"stats":{"winner":false,"champLevel":16,"item0":3265,"item1":3207,"item2":3075,"item3":3065,"item4":3211,"item5":1028,"item6":3341,"kills":8,"doubleKills":1,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":2,"deaths":8,"assists":9,"totalDamageDealt":152313,"totalDamageDealtToChampions":23219,"totalDamageTaken":36650,"largestCriticalStrike":0,"totalHeal":2213,"minionsKilled":29,"neutralMinionsKilled":96,"neutralMinionsKilledTeamJungle":90,"neutralMinionsKilledEnemyJungle":6,"goldEarned":11342,"goldSpent":10700,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":21455,"physicalDamageDealtToChampions":1763,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":1,"sightWardsBoughtInGame":0,"magicDamageDealt":107421,"physicalDamageDealt":18398,"trueDamageDealt":26493,"magicDamageTaken":12755,"physicalDamageTaken":23118,"trueDamageTaken":777,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":0,"wardsPlaced":6,"wardsKilled":2,"largestMultiKill":2,"killingSprees":3,"totalUnitsHealed":1,"totalTimeCrowdControlDealt":230},"participantId":1},{"teamId":100,"spell1Id":4,"spell2Id":6,"championId":101,"highestAchievedSeasonTier":"UNRANKED","timeline":{"creepsPerMinDeltas":{"zeroToTen":6.3,"tenToTwenty":7.6,"twentyToThirty":5.2,"thirtyToEnd":9.0},"xpPerMinDeltas":{"zeroToTen":394.1,"tenToTwenty":511.29999999999995,"twentyToThirty":479.8,"thirtyToEnd":809.6},"goldPerMinDeltas":{"zeroToTen":218.5,"tenToTwenty":300.2,"twentyToThirty":398.29999999999995,"thirtyToEnd":604.8},"damageTakenPerMinDeltas":{"zeroToTen":84.9,"tenToTwenty":367.0,"twentyToThirty":535.0,"thirtyToEnd":1060.4},"role":"DUO_CARRY","lane":"MIDDLE"},"stats":{"winner":false,"champLevel":18,"item0":1058,"item1":3174,"item2":3089,"item3":3258,"item4":3135,"item5":1052,"item6":3342,"kills":6,"doubleKills":1,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":3,"deaths":5,"assists":8,"totalDamageDealt":194999,"totalDamageDealtToChampions":25292,"totalDamageTaken":17551,"largestCriticalStrike":0,"totalHeal":351,"minionsKilled":252,"neutralMinionsKilled":18,"neutralMinionsKilledTeamJungle":18,"neutralMinionsKilledEnemyJungle":0,"goldEarned":13292,"goldSpent":13355,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":24818,"physicalDamageDealtToChampions":390,"trueDamageDealtToChampions":84,"visionWardsBoughtInGame":0,"sightWardsBoughtInGame":1,"magicDamageDealt":181875,"physicalDamageDealt":12652,"trueDamageDealt":472,"magicDamageTaken":7756,"physicalDamageTaken":9763,"trueDamageTaken":32,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":0,"wardsPlaced":1,"wardsKilled":0,"largestMultiKill":2,"killingSprees":2,"totalUnitsHealed":1,"totalTimeCrowdControlDealt":484},"participantId":2},{"teamId":100,"spell1Id":4,"spell2Id":14,"championId":89,"highestAchievedSeasonTier":"BRONZE","timeline":{"creepsPerMinDeltas":{"zeroToTen":0.9,"tenToTwenty":1.0,"twentyToThirty":1.3,"thirtyToEnd":1.0},"xpPerMinDeltas":{"zeroToTen":253.0,"tenToTwenty":304.8,"twentyToThirty":475.1,"thirtyToEnd":774.0},"goldPerMinDeltas":{"zeroToTen":153.2,"tenToTwenty":232.10000000000002,"twentyToThirty":218.5,"thirtyToEnd":211.0},"csDiffPerMinDeltas":{"zeroToTen":-0.8999999999999999,"tenToTwenty":-0.7000000000000002,"twentyToThirty":-1.9499999999999997,"thirtyToEnd":-2.7},"xpDiffPerMinDeltas":{"zeroToTen":-32.44999999999999,"tenToTwenty":-54.849999999999966,"twentyToThirty":-88.84999999999997,"thirtyToEnd":49.09999999999991},"damageTakenPerMinDeltas":{"zeroToTen":349.3,"tenToTwenty":579.8,"twentyToThirty":691.5,"thirtyToEnd":1175.0},"damageTakenDiffPerMinDeltas":{"zeroToTen":162.5,"tenToTwenty":211.99999999999997,"twentyToThirty":153.0,"thirtyToEnd":-29.200000000000045},"role":"DUO_SUPPORT","lane":"BOTTOM"},"stats":{"winner":false,"champLevel":16,"item0":3302,"item1":2049,"item2":3265,"item3":3068,"item4":3211,"item5":0,"item6":3341,"kills":4,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":2,"deaths":6,"assists":7,"totalDamageDealt":25988,"totalDamageDealtToChampions":7868,"totalDamageTaken":25064,"largestCriticalStrike":0,"totalHeal":1966,"minionsKilled":39,"neutralMinionsKilled":0,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":0,"goldEarned":8018,"goldSpent":7310,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":4048,"physicalDamageDealtToChampions":2655,"trueDamageDealtToChampions":1164,"visionWardsBoughtInGame":2,"sightWardsBoughtInGame":2,"magicDamageDealt":14138,"physicalDamageDealt":7885,"trueDamageDealt":3964,"magicDamageTaken":7627,"physicalDamageTaken":16782,"trueDamageTaken":654,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":0,"wardsPlaced":25,"wardsKilled":4,"largestMultiKill":1,"killingSprees":1,"totalUnitsHealed":3,"totalTimeCrowdControlDealt":62},"participantId":3},{"teamId":100,"spell1Id":4,"spell2Id":7,"championId":106,"highestAchievedSeasonTier":"BRONZE","timeline":{"creepsPerMinDeltas":{"zeroToTen":4.1,"tenToTwenty":5.1,"twentyToThirty":2.2,"thirtyToEnd":2.2},"xpPerMinDeltas":{"zeroToTen":417.7,"tenToTwenty":451.8,"twentyToThirty":292.9,"thirtyToEnd":373.4},"goldPerMinDeltas":{"zeroToTen":232.8,"tenToTwenty":249.7,"twentyToThirty":169.1,"thirtyToEnd":223.4},"csDiffPerMinDeltas":{"zeroToTen":0.5999999999999999,"tenToTwenty":0.19999999999999996,"twentyToThirty":-4.300000000000001,"thirtyToEnd":-1.7999999999999998},"xpDiffPerMinDeltas":{"zeroToTen":66.0,"tenToTwenty":-32.80000000000001,"twentyToThirty":-302.0,"thirtyToEnd":67.59999999999997},"damageTakenPerMinDeltas":{"zeroToTen":584.8,"tenToTwenty":1209.6,"twentyToThirty":1875.2,"thirtyToEnd":1141.2},"damageTakenDiffPerMinDeltas":{"zeroToTen":9.700000000000017,"tenToTwenty":123.0,"twentyToThirty":-25.5,"thirtyToEnd":-404.5999999999999},"role":"SOLO","lane":"TOP"},"stats":{"winner":false,"champLevel":15,"item0":3083,"item1":3265,"item2":1011,"item3":3211,"item4":0,"item5":0,"item6":3340,"kills":4,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":2,"deaths":6,"assists":1,"totalDamageDealt":74065,"totalDamageDealtToChampions":24324,"totalDamageTaken":46524,"largestCriticalStrike":0,"totalHeal":5257,"minionsKilled":128,"neutralMinionsKilled":0,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":0,"goldEarned":8404,"goldSpent":8620,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":5658,"physicalDamageDealtToChampions":18665,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":0,"sightWardsBoughtInGame":1,"magicDamageDealt":26669,"physicalDamageDealt":47395,"trueDamageDealt":0,"magicDamageTaken":11050,"physicalDamageTaken":34803,"trueDamageTaken":670,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":0,"wardsPlaced":3,"wardsKilled":0,"largestMultiKill":1,"killingSprees":1,"totalUnitsHealed":1,"totalTimeCrowdControlDealt":755},"participantId":4},{"teamId":100,"spell1Id":4,"spell2Id":7,"championId":67,"highestAchievedSeasonTier":"UNRANKED","timeline":{"creepsPerMinDeltas":{"zeroToTen":5.5,"tenToTwenty":5.5,"twentyToThirty":4.9,"thirtyToEnd":3.6},"xpPerMinDeltas":{"zeroToTen":286.2,"tenToTwenty":381.4,"twentyToThirty":339.0,"thirtyToEnd":568.6},"goldPerMinDeltas":{"zeroToTen":208.9,"tenToTwenty":289.9,"twentyToThirty":269.5,"thirtyToEnd":340.6},"csDiffPerMinDeltas":{"zeroToTen":-0.8999999999999999,"tenToTwenty":-0.7000000000000002,"twentyToThirty":-1.9499999999999997,"thirtyToEnd":-2.7},"xpDiffPerMinDeltas":{"zeroToTen":-32.44999999999999,"tenToTwenty":-54.849999999999966,"twentyToThirty":-88.84999999999997,"thirtyToEnd":49.09999999999991},"damageTakenPerMinDeltas":{"zeroToTen":392.7,"tenToTwenty":725.4,"twentyToThirty":796.9,"thirtyToEnd":1507.4},"damageTakenDiffPerMinDeltas":{"zeroToTen":162.5,"tenToTwenty":211.99999999999997,"twentyToThirty":153.0,"thirtyToEnd":-29.200000000000045},"role":"DUO_CARRY","lane":"BOTTOM"},"stats":{"winner":false,"champLevel":15,"item0":3153,"item1":3086,"item2":3031,"item3":1055,"item4":3006,"item5":2043,"item6":3340,"kills":3,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":2,"deaths":11,"assists":8,"totalDamageDealt":94939,"totalDamageDealtToChampions":11949,"totalDamageTaken":29601,"largestCriticalStrike":630,"totalHeal":2437,"minionsKilled":184,"neutralMinionsKilled":6,"neutralMinionsKilledTeamJungle":6,"neutralMinionsKilledEnemyJungle":0,"goldEarned":10668,"goldSpent":10335,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":301,"physicalDamageDealtToChampions":9351,"trueDamageDealtToChampions":2296,"visionWardsBoughtInGame":3,"sightWardsBoughtInGame":1,"magicDamageDealt":350,"physicalDamageDealt":85321,"trueDamageDealt":9266,"magicDamageTaken":16224,"physicalDamageTaken":13314,"trueDamageTaken":62,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":1,"wardsPlaced":13,"wardsKilled":2,"largestMultiKill":1,"killingSprees":1,"totalUnitsHealed":2,"totalTimeCrowdControlDealt":17},"participantId":5},{"teamId":200,"spell1Id":4,"spell2Id":14,"championId":1,"highestAchievedSeasonTier":"BRONZE","timeline":{"creepsPerMinDeltas":{"zeroToTen":6.4,"tenToTwenty":8.7,"twentyToThirty":4.8,"thirtyToEnd":3.2},"xpPerMinDeltas":{"zeroToTen":432.79999999999995,"tenToTwenty":617.2,"twentyToThirty":374.70000000000005,"thirtyToEnd":551.6},"goldPerMinDeltas":{"zeroToTen":279.6,"tenToTwenty":481.5,"twentyToThirty":368.2,"thirtyToEnd":465.6},"damageTakenPerMinDeltas":{"zeroToTen":240.1,"tenToTwenty":489.3,"twentyToThirty":717.2,"thirtyToEnd":1128.4},"role":"SOLO","lane":"MIDDLE"},"stats":{"winner":true,"champLevel":18,"item0":3089,"item1":3020,"item2":3157,"item3":3027,"item4":3116,"item5":0,"item6":3340,"kills":11,"doubleKills":2,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":6,"deaths":4,"assists":11,"totalDamageDealt":140552,"totalDamageDealtToChampions":30287,"totalDamageTaken":22811,"largestCriticalStrike":0,"totalHeal":752,"minionsKilled":224,"neutralMinionsKilled":0,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":0,"goldEarned":16112,"goldSpent":16075,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":27947,"physicalDamageDealtToChampions":1710,"trueDamageDealtToChampions":630,"visionWardsBoughtInGame":0,"sightWardsBoughtInGame":1,"magicDamageDealt":121500,"physicalDamageDealt":18422,"trueDamageDealt":630,"magicDamageTaken":14939,"physicalDamageTaken":7405,"trueDamageTaken":466,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":true,"firstInhibitorAssist":false,"inhibitorKills":2,"towerKills":0,"wardsPlaced":12,"wardsKilled":1,"largestMultiKill":2,"killingSprees":2,"totalUnitsHealed":1,"totalTimeCrowdControlDealt":246},"participantId":6},{"teamId":200,"spell1Id":4,"spell2Id":12,"championId":75,"highestAchievedSeasonTier":"BRONZE","timeline":{"creepsPerMinDeltas":{"zeroToTen":3.5,"tenToTwenty":4.9,"twentyToThirty":6.5,"thirtyToEnd":4.0},"xpPerMinDeltas":{"zeroToTen":351.7,"tenToTwenty":484.6,"twentyToThirty":594.9,"thirtyToEnd":305.8},"goldPerMinDeltas":{"zeroToTen":197.89999999999998,"tenToTwenty":299.20000000000005,"twentyToThirty":400.20000000000005,"thirtyToEnd":357.6},"csDiffPerMinDeltas":{"zeroToTen":-0.5999999999999999,"tenToTwenty":-0.19999999999999996,"twentyToThirty":4.300000000000001,"thirtyToEnd":1.7999999999999998},"xpDiffPerMinDeltas":{"zeroToTen":-66.0,"tenToTwenty":32.80000000000001,"twentyToThirty":302.0,"thirtyToEnd":-67.59999999999997},"damageTakenPerMinDeltas":{"zeroToTen":575.1,"tenToTwenty":1086.6,"twentyToThirty":1900.7,"thirtyToEnd":1545.8},"damageTakenDiffPerMinDeltas":{"zeroToTen":-9.700000000000017,"tenToTwenty":-123.0,"twentyToThirty":25.5,"thirtyToEnd":404.5999999999999},"role":"SOLO","lane":"TOP"},"stats":{"winner":true,"champLevel":18,"item0":3111,"item1":3083,"item2":3078,"item3":3068,"item4":1028,"item5":0,"item6":3340,"kills":5,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":2,"deaths":5,"assists":4,"totalDamageDealt":161850,"totalDamageDealtToChampions":31999,"totalDamageTaken":48890,"largestCriticalStrike":1316,"totalHeal":2856,"minionsKilled":173,"neutralMinionsKilled":10,"neutralMinionsKilledTeamJungle":10,"neutralMinionsKilledEnemyJungle":0,"goldEarned":13015,"goldSpent":10923,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":7104,"physicalDamageDealtToChampions":24895,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":0,"sightWardsBoughtInGame":0,"magicDamageDealt":45706,"physicalDamageDealt":116144,"trueDamageDealt":0,"magicDamageTaken":9534,"physicalDamageTaken":39272,"trueDamageTaken":84,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":1,"towerKills":3,"wardsPlaced":5,"wardsKilled":0,"largestMultiKill":1,"killingSprees":2,"totalUnitsHealed":1,"totalTimeCrowdControlDealt":109},"participantId":7},{"teamId":200,"spell1Id":4,"spell2Id":11,"championId":154,"highestAchievedSeasonTier":"GOLD","timeline":{"creepsPerMinDeltas":{"zeroToTen":0.0,"tenToTwenty":0.2,"twentyToThirty":1.4,"thirtyToEnd":0.4},"xpPerMinDeltas":{"zeroToTen":325.3,"tenToTwenty":442.0,"twentyToThirty":509.1,"thirtyToEnd":399.4},"goldPerMinDeltas":{"zeroToTen":214.5,"tenToTwenty":317.4,"twentyToThirty":389.0,"thirtyToEnd":328.4},"damageTakenPerMinDeltas":{"zeroToTen":476.09999999999997,"tenToTwenty":794.9,"twentyToThirty":1033.5,"thirtyToEnd":1533.0},"role":"NONE","lane":"JUNGLE"},"stats":{"winner":true,"champLevel":16,"item0":3207,"item1":3065,"item2":3143,"item3":3068,"item4":0,"item5":3111,"item6":3341,"kills":4,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":2,"deaths":3,"assists":6,"totalDamageDealt":131691,"totalDamageDealtToChampions":9896,"totalDamageTaken":34272,"largestCriticalStrike":0,"totalHeal":24391,"minionsKilled":18,"neutralMinionsKilled":88,"neutralMinionsKilledTeamJungle":69,"neutralMinionsKilledEnemyJungle":19,"goldEarned":12346,"goldSpent":11740,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":8278,"physicalDamageDealtToChampions":1419,"trueDamageDealtToChampions":198,"visionWardsBoughtInGame":0,"sightWardsBoughtInGame":0,"magicDamageDealt":78590,"physicalDamageDealt":21277,"trueDamageDealt":31824,"magicDamageTaken":10834,"physicalDamageTaken":22010,"trueDamageTaken":1427,"firstBloodKill":true,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":0,"wardsPlaced":3,"wardsKilled":0,"largestMultiKill":1,"killingSprees":2,"totalUnitsHealed":1,"totalTimeCrowdControlDealt":872},"participantId":8},{"teamId":200,"spell1Id":4,"spell2Id":3,"championId":25,"highestAchievedSeasonTier":"UNRANKED","timeline":{"creepsPerMinDeltas":{"zeroToTen":0.6000000000000001,"tenToTwenty":1.4000000000000001,"twentyToThirty":1.7999999999999998,"thirtyToEnd":4.6},"xpPerMinDeltas":{"zeroToTen":305.0,"tenToTwenty":360.9,"twentyToThirty":340.9,"thirtyToEnd":643.6},"goldPerMinDeltas":{"zeroToTen":184.2,"tenToTwenty":380.3,"twentyToThirty":374.0,"thirtyToEnd":543.4},"csDiffPerMinDeltas":{"zeroToTen":0.8999999999999999,"tenToTwenty":0.7000000000000002,"twentyToThirty":1.9499999999999997,"thirtyToEnd":2.7},"xpDiffPerMinDeltas":{"zeroToTen":32.44999999999999,"tenToTwenty":54.849999999999966,"twentyToThirty":88.84999999999997,"thirtyToEnd":-49.09999999999991},"damageTakenPerMinDeltas":{"zeroToTen":114.5,"tenToTwenty":333.9,"twentyToThirty":334.29999999999995,"thirtyToEnd":1507.2},"damageTakenDiffPerMinDeltas":{"zeroToTen":-162.5,"tenToTwenty":-211.99999999999997,"twentyToThirty":-153.0,"thirtyToEnd":29.200000000000045},"role":"DUO_SUPPORT","lane":"BOTTOM"},"stats":{"winner":true,"champLevel":16,"item0":3092,"item1":2049,"item2":3157,"item3":3027,"item4":1011,"item5":3270,"item6":3341,"kills":3,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":2,"deaths":4,"assists":13,"totalDamageDealt":57262,"totalDamageDealtToChampions":12929,"totalDamageTaken":15737,"largestCriticalStrike":0,"totalHeal":119,"minionsKilled":69,"neutralMinionsKilled":2,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":2,"goldEarned":13851,"goldSpent":11860,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":12080,"physicalDamageDealtToChampions":849,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":1,"sightWardsBoughtInGame":1,"magicDamageDealt":45055,"physicalDamageDealt":12206,"trueDamageDealt":0,"magicDamageTaken":5441,"physicalDamageTaken":9057,"trueDamageTaken":1238,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":true,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":true,"inhibitorKills":0,"towerKills":3,"wardsPlaced":27,"wardsKilled":11,"largestMultiKill":1,"killingSprees":1,"totalUnitsHealed":1,"totalTimeCrowdControlDealt":129},"participantId":9},{"teamId":200,"spell1Id":4,"spell2Id":7,"championId":119,"highestAchievedSeasonTier":"BRONZE","timeline":{"creepsPerMinDeltas":{"zeroToTen":7.6,"tenToTwenty":6.5,"twentyToThirty":8.3,"thirtyToEnd":5.4},"xpPerMinDeltas":{"zeroToTen":299.1,"tenToTwenty":435.0,"twentyToThirty":650.9,"thirtyToEnd":600.8},"goldPerMinDeltas":{"zeroToTen":253.8,"tenToTwenty":531.0,"twentyToThirty":464.09999999999997,"thirtyToEnd":723.2},"csDiffPerMinDeltas":{"zeroToTen":0.8999999999999999,"tenToTwenty":0.7000000000000002,"twentyToThirty":1.9499999999999997,"thirtyToEnd":2.7},"xpDiffPerMinDeltas":{"zeroToTen":32.44999999999999,"tenToTwenty":54.849999999999966,"twentyToThirty":88.84999999999997,"thirtyToEnd":-49.09999999999991},"damageTakenPerMinDeltas":{"zeroToTen":302.5,"tenToTwenty":547.3,"twentyToThirty":848.0999999999999,"thirtyToEnd":1233.6},"damageTakenDiffPerMinDeltas":{"zeroToTen":-162.5,"tenToTwenty":-211.99999999999997,"twentyToThirty":-153.0,"thirtyToEnd":29.200000000000045},"role":"DUO_CARRY","lane":"BOTTOM"},"stats":{"winner":true,"champLevel":18,"item0":3101,"item1":3046,"item2":3035,"item3":3072,"item4":3031,"item5":3006,"item6":3340,"kills":13,"doubleKills":2,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":4,"deaths":9,"assists":7,"totalDamageDealt":243866,"totalDamageDealtToChampions":44643,"totalDamageTaken":25851,"largestCriticalStrike":1219,"totalHeal":2102,"minionsKilled":262,"neutralMinionsKilled":21,"neutralMinionsKilledTeamJungle":13,"neutralMinionsKilledEnemyJungle":8,"goldEarned":19618,"goldSpent":15670,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":2,"physicalDamageDealtToChampions":43348,"trueDamageDealtToChampions":1292,"visionWardsBoughtInGame":0,"sightWardsBoughtInGame":0,"magicDamageDealt":136,"physicalDamageDealt":241675,"trueDamageDealt":2054,"magicDamageTaken":15987,"physicalDamageTaken":8439,"trueDamageTaken":1424,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":true,"inhibitorKills":1,"towerKills":2,"wardsPlaced":5,"wardsKilled":1,"largestMultiKill":2,"killingSprees":2,"totalUnitsHealed":2,"totalTimeCrowdControlDealt":405},"participantId":10}],"participantIdentities":[{"participantId":1,"player":{"summonerId":47260366,"summonerName":"DannyLaLaLa","matchHistoryUri":"/v1/stats/player_history/EUW1/205149138","profileIcon":657}},{"participantId":2,"player":{"summonerId":50559966,"summonerName":"bibble5","matchHistoryUri":"/v1/stats/player_history/EUW1/42786420","profileIcon":625}},{"participantId":3,"player":{"summonerId":20639710,"summonerName":"PacoLoco","matchHistoryUri":"/v1/stats/player_history/EUW1/23876059","profileIcon":666}},{"participantId":4,"player":{"summonerId":41758551,"summonerName":"Bola de Berlim","matchHistoryUri":"/v1/stats/player_history/EUW1/200630973","profileIcon":21}},{"participantId":5,"player":{"summonerId":40021263,"summonerName":"Blashy","matchHistoryUri":"/v1/stats/player_history/EUW1/41884258","profileIcon":657}},{"participantId":6,"player":{"summonerId":357751,"summonerName":"peKEEciirnhO","matchHistoryUri":"/v1/stats/player_history/EUW1/363472","profileIcon":654}},{"participantId":7,"player":{"summonerId":24309973,"summonerName":"Tiramix","matchHistoryUri":"/v1/stats/player_history/EUW1/28735536","profileIcon":592}},{"participantId":8,"player":{"summonerId":20841342,"summonerName":"Maozwar","matchHistoryUri":"/v1/stats/player_history/EUW1/24164436","profileIcon":583}},{"participantId":9,"player":{"summonerId":52153417,"summonerName":"Red Devil 77","matchHistoryUri":"/v1/stats/player_history/EUW1/207393466","profileIcon":664}},{"participantId":10,"player":{"summonerId":25528715,"summonerName":"Dolph Der Fûhrer","matchHistoryUri":"/v1/stats/player_history/EUW1/29877073","profileIcon":581}}],"teams":[{"teamId":100,"winner":false,"firstBlood":false,"firstTower":false,"firstInhibitor":false,"firstBaron":false,"firstDragon":false,"towerKills":1,"inhibitorKills":0,"baronKills":0,"dragonKills":0,"vilemawKills":0,"bans":[{"championId":157,"pickTurn":1},{"championId":24,"pickTurn":3},{"championId":201,"pickTurn":5}]},{"teamId":200,"winner":true,"firstBlood":true,"firstTower":true,"firstInhibitor":true,"firstBaron":true,"firstDragon":true,"towerKills":10,"inhibitorKills":4,"baronKills":1,"dragonKills":4,"vilemawKills":0,"bans":[{"championId":105,"pickTurn":2},{"championId":11,"pickTurn":6}]}]}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Access-Control-Allow-Headers: Content-Type
|
3
|
+
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
|
+
Access-Control-Allow-Origin: *
|
5
|
+
Content-Type: application/json; charset=UTF-8
|
6
|
+
Date: Tue, 17 Feb 2015 21:23:50 GMT
|
7
|
+
Server: Jetty(9.1.5.v20140505)
|
8
|
+
Vary: Accept-Encoding, User-Agent
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTUVVSBQYBUEYdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMB0UVZE1OChoAb0pUAEUCWwoNRUMOFBpkHEMRDA9YX1IULVUUH1JIU04ATAxRAQAFBgtSFUwATREEVgNWBwdVWgsAUgdXVFcORDk=
|
10
|
+
transfer-encoding: chunked
|
11
|
+
Connection: keep-alive
|
12
|
+
|
13
|
+
{"matches":[{"matchId":1936953776,"region":"EUW","platformId":"EUW1","matchMode":"CLASSIC","matchType":"MATCHED_GAME","matchCreation":1422182050766,"matchDuration":2057,"queueType":"RANKED_SOLO_5x5","mapId":11,"season":"SEASON2015","matchVersion":"5.1.0.427","participants":[{"teamId":100,"spell1Id":4,"spell2Id":3,"championId":201,"highestAchievedSeasonTier":"SILVER","timeline":{"creepsPerMinDeltas":{"zeroToTen":0.8,"tenToTwenty":1.0,"twentyToThirty":0.6},"xpPerMinDeltas":{"zeroToTen":287.0,"tenToTwenty":353.1,"twentyToThirty":439.6},"goldPerMinDeltas":{"zeroToTen":148.8,"tenToTwenty":290.70000000000005,"twentyToThirty":316.7},"csDiffPerMinDeltas":{"zeroToTen":0.6499999999999999,"tenToTwenty":1.3499999999999996,"twentyToThirty":-0.8500000000000001},"xpDiffPerMinDeltas":{"zeroToTen":15.199999999999989,"tenToTwenty":-6.000000000000028,"twentyToThirty":31.850000000000023},"damageTakenPerMinDeltas":{"zeroToTen":147.29999999999998,"tenToTwenty":780.5,"twentyToThirty":762.0999999999999},"damageTakenDiffPerMinDeltas":{"zeroToTen":62.59999999999999,"tenToTwenty":69.60000000000002,"twentyToThirty":47.599999999999994},"role":"DUO_SUPPORT","lane":"BOTTOM"},"masteries":[{"masteryId":4211,"rank":1},{"masteryId":4212,"rank":2},{"masteryId":4213,"rank":2},{"masteryId":4222,"rank":3},{"masteryId":4232,"rank":1},{"masteryId":4233,"rank":3},{"masteryId":4241,"rank":3},{"masteryId":4242,"rank":1},{"masteryId":4243,"rank":1},{"masteryId":4252,"rank":3},{"masteryId":4262,"rank":1},{"masteryId":4312,"rank":3},{"masteryId":4313,"rank":3},{"masteryId":4323,"rank":1},{"masteryId":4324,"rank":1},{"masteryId":4331,"rank":1}],"stats":{"winner":true,"champLevel":15,"item0":3401,"item1":2049,"item2":3068,"item3":3270,"item4":3211,"item5":1028,"item6":3341,"kills":2,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":0,"deaths":6,"assists":21,"totalDamageDealt":30614,"totalDamageDealtToChampions":9237,"totalDamageTaken":22516,"largestCriticalStrike":0,"totalHeal":5549,"minionsKilled":31,"neutralMinionsKilled":0,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":0,"goldEarned":10348,"goldSpent":8760,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":7858,"physicalDamageDealtToChampions":1378,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":1,"sightWardsBoughtInGame":2,"magicDamageDealt":16890,"physicalDamageDealt":8937,"trueDamageDealt":4786,"magicDamageTaken":4778,"physicalDamageTaken":17072,"trueDamageTaken":665,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":0,"wardsPlaced":11,"wardsKilled":1,"largestMultiKill":1,"killingSprees":0,"totalUnitsHealed":5,"totalTimeCrowdControlDealt":694},"participantId":0,"runes":[{"runeId":5273,"rank":9},{"runeId":5289,"rank":9},{"runeId":5327,"rank":9},{"runeId":5357,"rank":3}]}],"participantIdentities":[{"participantId":0,"player":{"summonerId":20639710,"summonerName":"PacoLoco","matchHistoryUri":"/v1/stats/player_history/EUW1/23876059","profileIcon":709}}]},{"matchId":1937984129,"region":"EUW","platformId":"EUW1","matchMode":"CLASSIC","matchType":"MATCHED_GAME","matchCreation":1422210224699,"matchDuration":3018,"queueType":"RANKED_SOLO_5x5","mapId":11,"season":"SEASON2015","matchVersion":"5.1.0.427","participants":[{"teamId":100,"spell1Id":4,"spell2Id":3,"championId":201,"highestAchievedSeasonTier":"SILVER","timeline":{"creepsPerMinDeltas":{"zeroToTen":0.9,"tenToTwenty":1.2,"twentyToThirty":2.7,"thirtyToEnd":1.5},"xpPerMinDeltas":{"zeroToTen":236.10000000000002,"tenToTwenty":360.5,"twentyToThirty":468.9,"thirtyToEnd":580.35},"goldPerMinDeltas":{"zeroToTen":158.7,"tenToTwenty":293.8,"twentyToThirty":250.1,"thirtyToEnd":325.25},"csDiffPerMinDeltas":{"zeroToTen":-0.34999999999999987,"tenToTwenty":-1.9499999999999997,"twentyToThirty":0.5499999999999998,"thirtyToEnd":-3.1750000000000003},"xpDiffPerMinDeltas":{"zeroToTen":-51.400000000000006,"tenToTwenty":7.549999999999997,"twentyToThirty":18.799999999999955,"thirtyToEnd":-15.075000000000045},"damageTakenPerMinDeltas":{"zeroToTen":264.2,"tenToTwenty":500.79999999999995,"twentyToThirty":618.0,"thirtyToEnd":1190.25},"damageTakenDiffPerMinDeltas":{"zeroToTen":14.849999999999966,"tenToTwenty":-23.24999999999997,"twentyToThirty":136.6500000000001,"thirtyToEnd":33.12499999999994},"role":"DUO_SUPPORT","lane":"BOTTOM"},"masteries":[{"masteryId":4211,"rank":1},{"masteryId":4212,"rank":2},{"masteryId":4213,"rank":2},{"masteryId":4222,"rank":3},{"masteryId":4232,"rank":1},{"masteryId":4233,"rank":3},{"masteryId":4241,"rank":3},{"masteryId":4242,"rank":1},{"masteryId":4243,"rank":1},{"masteryId":4252,"rank":3},{"masteryId":4262,"rank":1},{"masteryId":4312,"rank":3},{"masteryId":4313,"rank":3},{"masteryId":4323,"rank":1},{"masteryId":4324,"rank":1},{"masteryId":4331,"rank":1}],"stats":{"winner":true,"champLevel":18,"item0":3401,"item1":2049,"item2":3117,"item3":3068,"item4":3102,"item5":1031,"item6":3341,"kills":2,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":0,"deaths":3,"assists":26,"totalDamageDealt":67675,"totalDamageDealtToChampions":14423,"totalDamageTaken":37647,"largestCriticalStrike":0,"totalHeal":5894,"minionsKilled":78,"neutralMinionsKilled":0,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":0,"goldEarned":14341,"goldSpent":11110,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":10472,"physicalDamageDealtToChampions":3950,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":1,"sightWardsBoughtInGame":1,"magicDamageDealt":34191,"physicalDamageDealt":27374,"trueDamageDealt":6110,"magicDamageTaken":10124,"physicalDamageTaken":24029,"trueDamageTaken":3492,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":true,"inhibitorKills":0,"towerKills":1,"wardsPlaced":28,"wardsKilled":8,"largestMultiKill":1,"killingSprees":0,"totalUnitsHealed":4,"totalTimeCrowdControlDealt":1026},"participantId":0,"runes":[{"runeId":5273,"rank":9},{"runeId":5289,"rank":9},{"runeId":5327,"rank":9},{"runeId":5357,"rank":3}]}],"participantIdentities":[{"participantId":0,"player":{"summonerId":20639710,"summonerName":"PacoLoco","matchHistoryUri":"/v1/stats/player_history/EUW1/23876059","profileIcon":709}}]},{"matchId":1939713837,"region":"EUW","platformId":"EUW1","matchMode":"CLASSIC","matchType":"MATCHED_GAME","matchCreation":1422301444826,"matchDuration":2281,"queueType":"RANKED_SOLO_5x5","mapId":11,"season":"SEASON2015","matchVersion":"5.1.0.427","participants":[{"teamId":100,"spell1Id":4,"spell2Id":12,"championId":2,"highestAchievedSeasonTier":"SILVER","timeline":{"creepsPerMinDeltas":{"zeroToTen":4.6000000000000005,"tenToTwenty":4.300000000000001,"twentyToThirty":2.9000000000000004,"thirtyToEnd":3.0},"xpPerMinDeltas":{"zeroToTen":389.70000000000005,"tenToTwenty":366.6,"twentyToThirty":431.1,"thirtyToEnd":352.0},"goldPerMinDeltas":{"zeroToTen":228.0,"tenToTwenty":254.5,"twentyToThirty":305.6,"thirtyToEnd":352.6},"csDiffPerMinDeltas":{"zeroToTen":-1.2999999999999998,"tenToTwenty":-3.899999999999999,"twentyToThirty":-1.5999999999999999,"thirtyToEnd":-2.4000000000000004},"xpDiffPerMinDeltas":{"zeroToTen":-0.6999999999999744,"tenToTwenty":-160.59999999999997,"twentyToThirty":19.99999999999997,"thirtyToEnd":-343.79999999999995},"damageTakenPerMinDeltas":{"zeroToTen":208.2,"tenToTwenty":421.5,"twentyToThirty":952.4000000000001,"thirtyToEnd":1403.4},"damageTakenDiffPerMinDeltas":{"zeroToTen":-24.700000000000003,"tenToTwenty":72.30000000000001,"twentyToThirty":140.8,"thirtyToEnd":350.0},"role":"SOLO","lane":"TOP"},"masteries":[{"masteryId":4211,"rank":1},{"masteryId":4212,"rank":2},{"masteryId":4213,"rank":2},{"masteryId":4222,"rank":3},{"masteryId":4232,"rank":1},{"masteryId":4233,"rank":3},{"masteryId":4241,"rank":3},{"masteryId":4242,"rank":1},{"masteryId":4243,"rank":1},{"masteryId":4252,"rank":3},{"masteryId":4262,"rank":1},{"masteryId":4312,"rank":3},{"masteryId":4313,"rank":3},{"masteryId":4323,"rank":1},{"masteryId":4324,"rank":1},{"masteryId":4331,"rank":1}],"stats":{"winner":true,"champLevel":16,"item0":1054,"item1":3074,"item2":3047,"item3":3134,"item4":3110,"item5":3065,"item6":3340,"kills":5,"doubleKills":1,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":2,"deaths":7,"assists":8,"totalDamageDealt":112173,"totalDamageDealtToChampions":12693,"totalDamageTaken":24928,"largestCriticalStrike":0,"totalHeal":2107,"minionsKilled":154,"neutralMinionsKilled":1,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":1,"goldEarned":11938,"goldSpent":11482,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":249,"physicalDamageDealtToChampions":8807,"trueDamageDealtToChampions":3637,"visionWardsBoughtInGame":1,"sightWardsBoughtInGame":0,"magicDamageDealt":249,"physicalDamageDealt":107525,"trueDamageDealt":4398,"magicDamageTaken":5734,"physicalDamageTaken":17631,"trueDamageTaken":1562,"firstBloodKill":true,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":1,"towerKills":2,"wardsPlaced":10,"wardsKilled":1,"largestMultiKill":2,"killingSprees":1,"totalUnitsHealed":1,"totalTimeCrowdControlDealt":626},"participantId":0,"runes":[{"runeId":5253,"rank":9},{"runeId":5289,"rank":9},{"runeId":5317,"rank":9},{"runeId":5335,"rank":3}]}],"participantIdentities":[{"participantId":0,"player":{"summonerId":20639710,"summonerName":"PacoLoco","matchHistoryUri":"/v1/stats/player_history/EUW1/23876059","profileIcon":709}}]},{"matchId":1951422319,"region":"EUW","platformId":"EUW1","matchMode":"CLASSIC","matchType":"MATCHED_GAME","matchCreation":1422911515980,"matchDuration":1804,"queueType":"RANKED_SOLO_5x5","mapId":11,"season":"SEASON2015","matchVersion":"5.2.0.200","participants":[{"teamId":100,"spell1Id":4,"spell2Id":3,"championId":201,"highestAchievedSeasonTier":"SILVER","timeline":{"creepsPerMinDeltas":{"zeroToTen":1.2,"tenToTwenty":2.4,"twentyToThirty":1.4},"xpPerMinDeltas":{"zeroToTen":261.6,"tenToTwenty":352.2,"twentyToThirty":274.5},"goldPerMinDeltas":{"zeroToTen":143.2,"tenToTwenty":218.8,"twentyToThirty":264.2},"csDiffPerMinDeltas":{"zeroToTen":-1.1999999999999995,"tenToTwenty":-1.2499999999999998,"twentyToThirty":2.1},"xpDiffPerMinDeltas":{"zeroToTen":-30.5,"tenToTwenty":-42.400000000000006,"twentyToThirty":-35.79999999999998},"damageTakenPerMinDeltas":{"zeroToTen":185.0,"tenToTwenty":666.1,"twentyToThirty":1394.3},"damageTakenDiffPerMinDeltas":{"zeroToTen":-15.649999999999984,"tenToTwenty":119.1,"twentyToThirty":644.95},"role":"DUO","lane":"BOTTOM"},"masteries":[{"masteryId":4211,"rank":1},{"masteryId":4212,"rank":2},{"masteryId":4213,"rank":2},{"masteryId":4222,"rank":3},{"masteryId":4232,"rank":1},{"masteryId":4233,"rank":3},{"masteryId":4241,"rank":3},{"masteryId":4242,"rank":1},{"masteryId":4243,"rank":1},{"masteryId":4252,"rank":3},{"masteryId":4262,"rank":1},{"masteryId":4312,"rank":3},{"masteryId":4313,"rank":3},{"masteryId":4323,"rank":1},{"masteryId":4324,"rank":1},{"masteryId":4331,"rank":1}],"stats":{"winner":false,"champLevel":12,"item0":3401,"item1":2049,"item2":1031,"item3":3117,"item4":1028,"item5":1033,"item6":3341,"kills":2,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":0,"deaths":7,"assists":8,"totalDamageDealt":21214,"totalDamageDealtToChampions":4961,"totalDamageTaken":22454,"largestCriticalStrike":0,"totalHeal":3242,"minionsKilled":50,"neutralMinionsKilled":0,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":0,"goldEarned":6744,"goldSpent":5910,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":3551,"physicalDamageDealtToChampions":1410,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":2,"sightWardsBoughtInGame":3,"magicDamageDealt":7823,"physicalDamageDealt":10190,"trueDamageDealt":3200,"magicDamageTaken":7300,"physicalDamageTaken":13277,"trueDamageTaken":1877,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":0,"wardsPlaced":17,"wardsKilled":4,"largestMultiKill":1,"killingSprees":0,"totalUnitsHealed":4,"totalTimeCrowdControlDealt":596},"participantId":0,"runes":[{"runeId":5253,"rank":9},{"runeId":5289,"rank":9},{"runeId":5317,"rank":9},{"runeId":5335,"rank":3}]}],"participantIdentities":[{"participantId":0,"player":{"summonerId":20639710,"summonerName":"PacoLoco","matchHistoryUri":"/v1/stats/player_history/EUW1/23876059","profileIcon":709}}]},{"matchId":1951481678,"region":"EUW","platformId":"EUW1","matchMode":"CLASSIC","matchType":"MATCHED_GAME","matchCreation":1422914003141,"matchDuration":1995,"queueType":"RANKED_SOLO_5x5","mapId":11,"season":"SEASON2015","matchVersion":"5.2.0.200","participants":[{"teamId":100,"spell1Id":4,"spell2Id":3,"championId":412,"highestAchievedSeasonTier":"SILVER","timeline":{"creepsPerMinDeltas":{"zeroToTen":0.1,"tenToTwenty":0.30000000000000004,"twentyToThirty":1.2000000000000002},"xpPerMinDeltas":{"zeroToTen":242.4,"tenToTwenty":294.1,"twentyToThirty":611.3},"goldPerMinDeltas":{"zeroToTen":137.6,"tenToTwenty":207.1,"twentyToThirty":380.4},"csDiffPerMinDeltas":{"zeroToTen":-1.0999999999999996,"tenToTwenty":-0.6500000000000001,"twentyToThirty":-0.24999999999999978},"xpDiffPerMinDeltas":{"zeroToTen":-15.000000000000014,"tenToTwenty":3.1500000000000057,"twentyToThirty":141.64999999999992},"damageTakenPerMinDeltas":{"zeroToTen":188.5,"tenToTwenty":202.7,"twentyToThirty":560.4000000000001},"damageTakenDiffPerMinDeltas":{"zeroToTen":-37.75,"tenToTwenty":-43.54999999999998,"twentyToThirty":-355.1499999999999},"role":"DUO_SUPPORT","lane":"BOTTOM"},"masteries":[{"masteryId":4211,"rank":2},{"masteryId":4212,"rank":2},{"masteryId":4221,"rank":1},{"masteryId":4222,"rank":3},{"masteryId":4232,"rank":1},{"masteryId":4312,"rank":3},{"masteryId":4313,"rank":3},{"masteryId":4314,"rank":1},{"masteryId":4322,"rank":3},{"masteryId":4324,"rank":1},{"masteryId":4331,"rank":3},{"masteryId":4334,"rank":1},{"masteryId":4341,"rank":1},{"masteryId":4342,"rank":1},{"masteryId":4353,"rank":3},{"masteryId":4362,"rank":1}],"stats":{"winner":true,"champLevel":15,"item0":3301,"item1":3270,"item2":2049,"item3":3068,"item4":3222,"item5":3801,"item6":3341,"kills":2,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":0,"deaths":2,"assists":14,"totalDamageDealt":23887,"totalDamageDealtToChampions":5143,"totalDamageTaken":12452,"largestCriticalStrike":0,"totalHeal":983,"minionsKilled":17,"neutralMinionsKilled":0,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":0,"goldEarned":9120,"goldSpent":8410,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":3977,"physicalDamageDealtToChampions":1165,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":1,"sightWardsBoughtInGame":2,"magicDamageDealt":15317,"physicalDamageDealt":8570,"trueDamageDealt":0,"magicDamageTaken":4640,"physicalDamageTaken":7659,"trueDamageTaken":152,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":true,"inhibitorKills":0,"towerKills":0,"wardsPlaced":17,"wardsKilled":3,"largestMultiKill":1,"killingSprees":0,"totalUnitsHealed":1,"totalTimeCrowdControlDealt":71},"participantId":0,"runes":[{"runeId":5253,"rank":9},{"runeId":5289,"rank":9},{"runeId":5317,"rank":9},{"runeId":5335,"rank":3}]}],"participantIdentities":[{"participantId":0,"player":{"summonerId":20639710,"summonerName":"PacoLoco","matchHistoryUri":"/v1/stats/player_history/EUW1/23876059","profileIcon":709}}]},{"matchId":1969229137,"region":"EUW","platformId":"EUW1","matchMode":"CLASSIC","matchType":"MATCHED_GAME","matchCreation":1423922276828,"matchDuration":1658,"queueType":"RANKED_SOLO_5x5","mapId":11,"season":"SEASON2015","matchVersion":"5.3.0.291","participants":[{"teamId":200,"spell1Id":4,"spell2Id":3,"championId":53,"highestAchievedSeasonTier":"SILVER","timeline":{"creepsPerMinDeltas":{"zeroToTen":1.0,"tenToTwenty":0.8999999999999999},"xpPerMinDeltas":{"zeroToTen":214.2,"tenToTwenty":315.5},"goldPerMinDeltas":{"zeroToTen":131.2,"tenToTwenty":220.6},"csDiffPerMinDeltas":{"zeroToTen":-1.1,"tenToTwenty":-3.0000000000000004},"xpDiffPerMinDeltas":{"zeroToTen":-39.60000000000002,"tenToTwenty":-186.1},"damageTakenPerMinDeltas":{"zeroToTen":241.6,"tenToTwenty":791.0999999999999},"damageTakenDiffPerMinDeltas":{"zeroToTen":-79.05000000000003,"tenToTwenty":-20.750000000000114},"role":"DUO_SUPPORT","lane":"BOTTOM"},"masteries":[{"masteryId":4211,"rank":1},{"masteryId":4212,"rank":2},{"masteryId":4213,"rank":2},{"masteryId":4222,"rank":3},{"masteryId":4232,"rank":1},{"masteryId":4233,"rank":3},{"masteryId":4241,"rank":3},{"masteryId":4242,"rank":1},{"masteryId":4243,"rank":1},{"masteryId":4252,"rank":3},{"masteryId":4262,"rank":1},{"masteryId":4312,"rank":3},{"masteryId":4313,"rank":3},{"masteryId":4323,"rank":1},{"masteryId":4324,"rank":1},{"masteryId":4331,"rank":1}],"stats":{"winner":false,"champLevel":11,"item0":3401,"item1":2049,"item2":3117,"item3":1029,"item4":1029,"item5":0,"item6":3341,"kills":2,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":0,"deaths":8,"assists":4,"totalDamageDealt":23574,"totalDamageDealtToChampions":6187,"totalDamageTaken":21977,"largestCriticalStrike":0,"totalHeal":2402,"minionsKilled":33,"neutralMinionsKilled":0,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":0,"goldEarned":5536,"goldSpent":4510,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":3973,"physicalDamageDealtToChampions":2214,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":0,"sightWardsBoughtInGame":1,"magicDamageDealt":15768,"physicalDamageDealt":4441,"trueDamageDealt":3364,"magicDamageTaken":3552,"physicalDamageTaken":17359,"trueDamageTaken":1065,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":0,"wardsPlaced":15,"wardsKilled":2,"largestMultiKill":1,"killingSprees":0,"totalUnitsHealed":4,"totalTimeCrowdControlDealt":49},"participantId":0,"runes":[{"runeId":5273,"rank":9},{"runeId":5289,"rank":9},{"runeId":5327,"rank":9},{"runeId":5357,"rank":3}]}],"participantIdentities":[{"participantId":0,"player":{"summonerId":20639710,"summonerName":"PacoLoco","matchHistoryUri":"/v1/stats/player_history/EUW1/23876059","profileIcon":709}}]},{"matchId":1969305504,"region":"EUW","platformId":"EUW1","matchMode":"CLASSIC","matchType":"MATCHED_GAME","matchCreation":1423924391193,"matchDuration":1632,"queueType":"RANKED_SOLO_5x5","mapId":11,"season":"SEASON2015","matchVersion":"5.3.0.291","participants":[{"teamId":100,"spell1Id":4,"spell2Id":12,"championId":2,"highestAchievedSeasonTier":"SILVER","timeline":{"creepsPerMinDeltas":{"zeroToTen":2.5999999999999996,"tenToTwenty":5.199999999999999},"xpPerMinDeltas":{"zeroToTen":422.5,"tenToTwenty":440.9},"goldPerMinDeltas":{"zeroToTen":164.8,"tenToTwenty":254.9},"csDiffPerMinDeltas":{"zeroToTen":-5.4,"tenToTwenty":-4.700000000000001},"xpDiffPerMinDeltas":{"zeroToTen":-61.10000000000002,"tenToTwenty":-126.49999999999997},"damageTakenPerMinDeltas":{"zeroToTen":326.5,"tenToTwenty":733.9000000000001},"damageTakenDiffPerMinDeltas":{"zeroToTen":131.79999999999998,"tenToTwenty":337.20000000000005},"role":"SOLO","lane":"TOP"},"masteries":[{"masteryId":4211,"rank":1},{"masteryId":4212,"rank":2},{"masteryId":4213,"rank":2},{"masteryId":4222,"rank":3},{"masteryId":4232,"rank":1},{"masteryId":4233,"rank":3},{"masteryId":4241,"rank":3},{"masteryId":4242,"rank":1},{"masteryId":4243,"rank":1},{"masteryId":4252,"rank":3},{"masteryId":4262,"rank":1},{"masteryId":4312,"rank":3},{"masteryId":4313,"rank":3},{"masteryId":4323,"rank":1},{"masteryId":4324,"rank":1},{"masteryId":4331,"rank":1}],"stats":{"winner":false,"champLevel":14,"item0":1054,"item1":3047,"item2":1053,"item3":3065,"item4":1029,"item5":1029,"item6":3340,"kills":3,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":2,"deaths":4,"assists":4,"totalDamageDealt":65226,"totalDamageDealtToChampions":8935,"totalDamageTaken":16606,"largestCriticalStrike":0,"totalHeal":1815,"minionsKilled":85,"neutralMinionsKilled":1,"neutralMinionsKilledTeamJungle":1,"neutralMinionsKilledEnemyJungle":0,"goldEarned":6860,"goldSpent":5725,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":0,"physicalDamageDealtToChampions":5768,"trueDamageDealtToChampions":3166,"visionWardsBoughtInGame":1,"sightWardsBoughtInGame":0,"magicDamageDealt":0,"physicalDamageDealt":59816,"trueDamageDealt":5409,"magicDamageTaken":10745,"physicalDamageTaken":5451,"trueDamageTaken":409,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":0,"wardsPlaced":4,"wardsKilled":0,"largestMultiKill":1,"killingSprees":1,"totalUnitsHealed":1,"totalTimeCrowdControlDealt":3064},"participantId":0,"runes":[{"runeId":5253,"rank":9},{"runeId":5289,"rank":9},{"runeId":5317,"rank":9},{"runeId":5335,"rank":3}]}],"participantIdentities":[{"participantId":0,"player":{"summonerId":20639710,"summonerName":"PacoLoco","matchHistoryUri":"/v1/stats/player_history/EUW1/23876059","profileIcon":709}}]},{"matchId":1969363073,"region":"EUW","platformId":"EUW1","matchMode":"CLASSIC","matchType":"MATCHED_GAME","matchCreation":1423926595935,"matchDuration":2183,"queueType":"RANKED_SOLO_5x5","mapId":11,"season":"SEASON2015","matchVersion":"5.3.0.291","participants":[{"teamId":100,"spell1Id":4,"spell2Id":3,"championId":201,"highestAchievedSeasonTier":"SILVER","timeline":{"creepsPerMinDeltas":{"zeroToTen":1.1,"tenToTwenty":1.1,"twentyToThirty":1.0,"thirtyToEnd":1.8},"xpPerMinDeltas":{"zeroToTen":271.0,"tenToTwenty":266.79999999999995,"twentyToThirty":304.0,"thirtyToEnd":451.6},"goldPerMinDeltas":{"zeroToTen":174.3,"tenToTwenty":208.2,"twentyToThirty":246.6,"thirtyToEnd":352.0},"csDiffPerMinDeltas":{"zeroToTen":0.6499999999999995,"tenToTwenty":0.19999999999999996,"twentyToThirty":-0.7000000000000001,"thirtyToEnd":-4.440892098500626E-16},"xpDiffPerMinDeltas":{"zeroToTen":17.299999999999983,"tenToTwenty":8.849999999999966,"twentyToThirty":-120.09999999999997,"thirtyToEnd":289.09999999999997},"damageTakenPerMinDeltas":{"zeroToTen":305.4,"tenToTwenty":449.20000000000005,"twentyToThirty":1020.3000000000001,"thirtyToEnd":1275.8},"damageTakenDiffPerMinDeltas":{"zeroToTen":20.40000000000002,"tenToTwenty":234.1,"twentyToThirty":59.149999999999864,"thirtyToEnd":430.89999999999986},"role":"DUO_SUPPORT","lane":"BOTTOM"},"masteries":[{"masteryId":4211,"rank":1},{"masteryId":4212,"rank":2},{"masteryId":4213,"rank":2},{"masteryId":4222,"rank":3},{"masteryId":4232,"rank":1},{"masteryId":4233,"rank":3},{"masteryId":4241,"rank":3},{"masteryId":4242,"rank":1},{"masteryId":4243,"rank":1},{"masteryId":4252,"rank":3},{"masteryId":4262,"rank":1},{"masteryId":4312,"rank":3},{"masteryId":4313,"rank":3},{"masteryId":4323,"rank":1},{"masteryId":4324,"rank":1},{"masteryId":4331,"rank":1}],"stats":{"winner":false,"champLevel":13,"item0":3401,"item1":2049,"item2":3068,"item3":3117,"item4":3211,"item5":0,"item6":3341,"kills":2,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":0,"deaths":7,"assists":16,"totalDamageDealt":21922,"totalDamageDealtToChampions":8203,"totalDamageTaken":27972,"largestCriticalStrike":0,"totalHeal":3505,"minionsKilled":44,"neutralMinionsKilled":0,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":0,"goldEarned":8755,"goldSpent":7910,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":6409,"physicalDamageDealtToChampions":1793,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":2,"sightWardsBoughtInGame":1,"magicDamageDealt":9724,"physicalDamageDealt":7326,"trueDamageDealt":4871,"magicDamageTaken":17946,"physicalDamageTaken":9673,"trueDamageTaken":352,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":0,"wardsPlaced":27,"wardsKilled":5,"largestMultiKill":1,"killingSprees":0,"totalUnitsHealed":4,"totalTimeCrowdControlDealt":489},"participantId":0,"runes":[{"runeId":5273,"rank":9},{"runeId":5289,"rank":9},{"runeId":5327,"rank":9},{"runeId":5357,"rank":3}]}],"participantIdentities":[{"participantId":0,"player":{"summonerId":20639710,"summonerName":"PacoLoco","matchHistoryUri":"/v1/stats/player_history/EUW1/23876059","profileIcon":709}}]},{"matchId":1973712993,"region":"EUW","platformId":"EUW1","matchMode":"CLASSIC","matchType":"MATCHED_GAME","matchCreation":1424118960402,"matchDuration":1287,"queueType":"RANKED_SOLO_5x5","mapId":11,"season":"SEASON2015","matchVersion":"5.3.0.291","participants":[{"teamId":100,"spell1Id":4,"spell2Id":3,"championId":201,"highestAchievedSeasonTier":"SILVER","timeline":{"creepsPerMinDeltas":{"zeroToTen":1.0,"tenToTwenty":0.6},"xpPerMinDeltas":{"zeroToTen":242.4,"tenToTwenty":244.0},"goldPerMinDeltas":{"zeroToTen":128.7,"tenToTwenty":199.6},"csDiffPerMinDeltas":{"zeroToTen":0.34999999999999987,"tenToTwenty":-0.6500000000000002},"xpDiffPerMinDeltas":{"zeroToTen":-64.34999999999997,"tenToTwenty":-82.69999999999999},"damageTakenPerMinDeltas":{"zeroToTen":390.8,"tenToTwenty":764.2},"damageTakenDiffPerMinDeltas":{"zeroToTen":69.85000000000002,"tenToTwenty":60.84999999999991},"role":"DUO_SUPPORT","lane":"BOTTOM"},"masteries":[{"masteryId":4211,"rank":1},{"masteryId":4212,"rank":2},{"masteryId":4213,"rank":2},{"masteryId":4222,"rank":3},{"masteryId":4232,"rank":1},{"masteryId":4233,"rank":3},{"masteryId":4241,"rank":3},{"masteryId":4242,"rank":1},{"masteryId":4243,"rank":1},{"masteryId":4252,"rank":3},{"masteryId":4262,"rank":1},{"masteryId":4312,"rank":3},{"masteryId":4313,"rank":3},{"masteryId":4323,"rank":1},{"masteryId":4324,"rank":1},{"masteryId":4331,"rank":1}],"stats":{"winner":false,"champLevel":9,"item0":3302,"item1":2049,"item2":3117,"item3":1031,"item4":1011,"item5":0,"item6":3341,"kills":0,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":0,"deaths":7,"assists":6,"totalDamageDealt":7382,"totalDamageDealtToChampions":2698,"totalDamageTaken":13201,"largestCriticalStrike":0,"totalHeal":1103,"minionsKilled":16,"neutralMinionsKilled":0,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":0,"goldEarned":4053,"goldSpent":4025,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":1968,"physicalDamageDealtToChampions":729,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":2,"sightWardsBoughtInGame":1,"magicDamageDealt":3386,"physicalDamageDealt":3065,"trueDamageDealt":931,"magicDamageTaken":4934,"physicalDamageTaken":7420,"trueDamageTaken":846,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":0,"wardsPlaced":8,"wardsKilled":4,"largestMultiKill":0,"killingSprees":0,"totalUnitsHealed":3,"totalTimeCrowdControlDealt":220},"participantId":0,"runes":[{"runeId":5273,"rank":9},{"runeId":5289,"rank":9},{"runeId":5327,"rank":9},{"runeId":5357,"rank":3}]}],"participantIdentities":[{"participantId":0,"player":{"summonerId":20639710,"summonerName":"PacoLoco","matchHistoryUri":"/v1/stats/player_history/EUW1/23876059","profileIcon":709}}]},{"matchId":1973826334,"region":"EUW","platformId":"EUW1","matchMode":"CLASSIC","matchType":"MATCHED_GAME","matchCreation":1424120780478,"matchDuration":1654,"queueType":"RANKED_SOLO_5x5","mapId":11,"season":"SEASON2015","matchVersion":"5.3.0.291","participants":[{"teamId":100,"spell1Id":4,"spell2Id":3,"championId":201,"highestAchievedSeasonTier":"SILVER","timeline":{"creepsPerMinDeltas":{"zeroToTen":0.8999999999999999,"tenToTwenty":0.4},"xpPerMinDeltas":{"zeroToTen":252.2,"tenToTwenty":422.0},"goldPerMinDeltas":{"zeroToTen":130.8,"tenToTwenty":307.9},"csDiffPerMinDeltas":{"zeroToTen":-0.7499999999999998,"tenToTwenty":0.9499999999999997},"xpDiffPerMinDeltas":{"zeroToTen":-15.149999999999977,"tenToTwenty":85.94999999999999},"damageTakenPerMinDeltas":{"zeroToTen":300.0,"tenToTwenty":536.6},"damageTakenDiffPerMinDeltas":{"zeroToTen":-46.000000000000014,"tenToTwenty":-326.04999999999995},"role":"DUO_SUPPORT","lane":"BOTTOM"},"masteries":[{"masteryId":4211,"rank":1},{"masteryId":4212,"rank":2},{"masteryId":4213,"rank":2},{"masteryId":4222,"rank":3},{"masteryId":4232,"rank":1},{"masteryId":4233,"rank":3},{"masteryId":4241,"rank":3},{"masteryId":4242,"rank":1},{"masteryId":4243,"rank":1},{"masteryId":4252,"rank":3},{"masteryId":4262,"rank":1},{"masteryId":4312,"rank":3},{"masteryId":4313,"rank":3},{"masteryId":4323,"rank":1},{"masteryId":4324,"rank":1},{"masteryId":4331,"rank":1}],"stats":{"winner":true,"champLevel":14,"item0":3302,"item1":2049,"item2":3117,"item3":3068,"item4":3211,"item5":1028,"item6":3340,"kills":1,"doubleKills":0,"tripleKills":0,"quadraKills":0,"pentaKills":0,"unrealKills":0,"largestKillingSpree":0,"deaths":5,"assists":16,"totalDamageDealt":23601,"totalDamageDealtToChampions":8058,"totalDamageTaken":16013,"largestCriticalStrike":0,"totalHeal":2111,"minionsKilled":22,"neutralMinionsKilled":1,"neutralMinionsKilledTeamJungle":0,"neutralMinionsKilledEnemyJungle":1,"goldEarned":8082,"goldSpent":6450,"combatPlayerScore":0,"objectivePlayerScore":0,"totalPlayerScore":0,"totalScoreRank":0,"magicDamageDealtToChampions":6370,"physicalDamageDealtToChampions":1687,"trueDamageDealtToChampions":0,"visionWardsBoughtInGame":1,"sightWardsBoughtInGame":2,"magicDamageDealt":13514,"physicalDamageDealt":8069,"trueDamageDealt":2016,"magicDamageTaken":4301,"physicalDamageTaken":11240,"trueDamageTaken":471,"firstBloodKill":false,"firstBloodAssist":false,"firstTowerKill":false,"firstTowerAssist":false,"firstInhibitorKill":false,"firstInhibitorAssist":false,"inhibitorKills":0,"towerKills":2,"wardsPlaced":15,"wardsKilled":0,"largestMultiKill":1,"killingSprees":0,"totalUnitsHealed":3,"totalTimeCrowdControlDealt":478},"participantId":0,"runes":[{"runeId":5273,"rank":9},{"runeId":5289,"rank":9},{"runeId":5327,"rank":9},{"runeId":5357,"rank":3}]}],"participantIdentities":[{"participantId":0,"player":{"summonerId":20639710,"summonerName":"PacoLoco","matchHistoryUri":"/v1/stats/player_history/EUW1/23876059","profileIcon":709}}]}]}
|
@@ -3,9 +3,11 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date: Tue,
|
6
|
+
Date: Tue, 17 Feb 2015 21:22:48 GMT
|
7
7
|
Server: Jetty(9.1.2.v20140210)
|
8
|
-
|
8
|
+
Vary: Accept-Encoding
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTV1FWAQUHU0YdFGQHBDcQUQxLA1tMXV1dORYzVBJHNQFUZAQUFVFQVThOA0dYa0kIXlpvTR0RB1cLVwxFZBtEAUsMPR4NVgMDQ1I9SQFBHkMRDA9YX1IUOB5NQBcLDg1eB0orXEtJbhwAVxVDGBNKI3NjSERPCB0ASFFMBwUAVFMFDwBOS1JOElsOVFtdDVECAA5TCFEAVlwUag==
|
10
|
+
Content-Length: 291
|
9
11
|
Connection: keep-alive
|
10
12
|
|
11
|
-
{"20639710":[{"name":"
|
13
|
+
{"20639710":[{"name":"Nami's Weaponmasters","tier":"SILVER","queue":"RANKED_SOLO_5x5","entries":[{"playerOrTeamId":"20639710","playerOrTeamName":"PacoLoco","division":"II","leaguePoints":19,"wins":7,"losses":6,"isHotStreak":false,"isVeteran":false,"isFreshBlood":true,"isInactive":false}]}]}
|
@@ -3,10 +3,11 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date:
|
6
|
+
Date: Tue, 17 Feb 2015 21:23:53 GMT
|
7
7
|
Server: Jetty(9.1.2.v20140210)
|
8
8
|
Vary: Accept-Encoding, User-Agent
|
9
|
-
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVVdUBAgPUkYdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMB0UVZE1OCRoBb0oTPR4SRg8JWVkEFCpcbx9OQ04HHwdKVB8GA1NeVFEFWg5OFQkYEAVdCFIIU1BbAgNRBAcHCwYSOQ==
|
10
|
+
Content-Length: 9248
|
10
11
|
Connection: keep-alive
|
11
12
|
|
12
|
-
{"summonerId":20639710,"modifyDate":
|
13
|
+
{"summonerId":20639710,"modifyDate":1421705269000,"champions":[{"id":5,"stats":{"totalSessionsPlayed":2,"totalSessionsLost":2,"totalSessionsWon":0,"totalChampionKills":0,"totalDamageDealt":133543,"totalDamageTaken":46015,"mostChampionKillsPerSession":0,"totalMinionKills":34,"totalDoubleKills":0,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":13,"totalGoldEarned":11958,"mostSpellsCast":0,"totalTurretsKilled":0,"totalPhysicalDamageDealt":94248,"totalMagicDamageDealt":30932,"totalFirstBlood":0,"totalAssists":14,"maxChampionsKilled":0,"maxNumDeaths":8}},{"id":3,"stats":{"totalSessionsPlayed":2,"totalSessionsLost":1,"totalSessionsWon":1,"totalChampionKills":1,"totalDamageDealt":61167,"totalDamageTaken":31500,"mostChampionKillsPerSession":1,"totalMinionKills":71,"totalDoubleKills":0,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":6,"totalGoldEarned":15262,"mostSpellsCast":0,"totalTurretsKilled":1,"totalPhysicalDamageDealt":12736,"totalMagicDamageDealt":47323,"totalFirstBlood":0,"totalAssists":16,"maxChampionsKilled":1,"maxNumDeaths":6}},{"id":44,"stats":{"totalSessionsPlayed":2,"totalSessionsLost":1,"totalSessionsWon":1,"totalChampionKills":6,"totalDamageDealt":26913,"totalDamageTaken":28885,"mostChampionKillsPerSession":3,"totalMinionKills":22,"totalDoubleKills":0,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":4,"totalGoldEarned":16194,"mostSpellsCast":0,"totalTurretsKilled":3,"totalPhysicalDamageDealt":12359,"totalMagicDamageDealt":13907,"totalFirstBlood":0,"totalAssists":29,"maxChampionsKilled":3,"maxNumDeaths":4}},{"id":45,"stats":{"totalSessionsPlayed":1,"totalSessionsLost":1,"totalSessionsWon":0,"totalChampionKills":2,"totalDamageDealt":51785,"totalDamageTaken":22441,"mostChampionKillsPerSession":2,"totalMinionKills":92,"totalDoubleKills":0,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":9,"totalGoldEarned":8234,"mostSpellsCast":0,"totalTurretsKilled":0,"totalPhysicalDamageDealt":9818,"totalMagicDamageDealt":41338,"totalFirstBlood":0,"totalAssists":6,"maxChampionsKilled":2,"maxNumDeaths":9}},{"id":15,"stats":{"totalSessionsPlayed":1,"totalSessionsLost":0,"totalSessionsWon":1,"totalChampionKills":12,"totalDamageDealt":182177,"totalDamageTaken":27325,"mostChampionKillsPerSession":12,"totalMinionKills":195,"totalDoubleKills":1,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":4,"totalGoldEarned":18037,"mostSpellsCast":0,"totalTurretsKilled":1,"totalPhysicalDamageDealt":173801,"totalMagicDamageDealt":7103,"totalFirstBlood":0,"totalAssists":29,"maxChampionsKilled":12,"maxNumDeaths":4}},{"id":201,"stats":{"totalSessionsPlayed":5,"totalSessionsLost":2,"totalSessionsWon":3,"totalChampionKills":8,"totalDamageDealt":121180,"totalDamageTaken":115103,"mostChampionKillsPerSession":3,"totalMinionKills":112,"totalDoubleKills":0,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":29,"totalGoldEarned":46667,"mostSpellsCast":0,"totalTurretsKilled":2,"totalPhysicalDamageDealt":45242,"totalMagicDamageDealt":65380,"totalFirstBlood":0,"totalAssists":101,"maxChampionsKilled":3,"maxNumDeaths":8}},{"id":126,"stats":{"totalSessionsPlayed":1,"totalSessionsLost":1,"totalSessionsWon":0,"totalChampionKills":1,"totalDamageDealt":22162,"totalDamageTaken":10145,"mostChampionKillsPerSession":1,"totalMinionKills":23,"totalDoubleKills":0,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":5,"totalGoldEarned":5674,"mostSpellsCast":0,"totalTurretsKilled":0,"totalPhysicalDamageDealt":19954,"totalMagicDamageDealt":2207,"totalFirstBlood":0,"totalAssists":6,"maxChampionsKilled":1,"maxNumDeaths":5}},{"id":19,"stats":{"totalSessionsPlayed":6,"totalSessionsLost":1,"totalSessionsWon":5,"totalChampionKills":21,"totalDamageDealt":563684,"totalDamageTaken":148925,"mostChampionKillsPerSession":6,"totalMinionKills":181,"totalDoubleKills":0,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":17,"totalGoldEarned":59094,"mostSpellsCast":0,"totalTurretsKilled":5,"totalPhysicalDamageDealt":311639,"totalMagicDamageDealt":205284,"totalFirstBlood":0,"totalAssists":72,"maxChampionsKilled":6,"maxNumDeaths":7}},{"id":89,"stats":{"totalSessionsPlayed":26,"totalSessionsLost":12,"totalSessionsWon":14,"totalChampionKills":74,"totalDamageDealt":722525,"totalDamageTaken":587954,"mostChampionKillsPerSession":9,"totalMinionKills":818,"totalDoubleKills":2,"totalTripleKills":1,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":123,"totalGoldEarned":237021,"mostSpellsCast":0,"totalTurretsKilled":8,"totalPhysicalDamageDealt":265891,"totalMagicDamageDealt":392497,"totalFirstBlood":0,"totalAssists":308,"maxChampionsKilled":9,"maxNumDeaths":12}},{"id":26,"stats":{"totalSessionsPlayed":3,"totalSessionsLost":2,"totalSessionsWon":1,"totalChampionKills":6,"totalDamageDealt":98782,"totalDamageTaken":56010,"mostChampionKillsPerSession":4,"totalMinionKills":63,"totalDoubleKills":0,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":20,"totalGoldEarned":20904,"mostSpellsCast":0,"totalTurretsKilled":0,"totalPhysicalDamageDealt":15062,"totalMagicDamageDealt":82252,"totalFirstBlood":0,"totalAssists":30,"maxChampionsKilled":4,"maxNumDeaths":13}},{"id":412,"stats":{"totalSessionsPlayed":60,"totalSessionsLost":30,"totalSessionsWon":30,"totalChampionKills":124,"totalDamageDealt":1457370,"totalDamageTaken":1108455,"mostChampionKillsPerSession":7,"totalMinionKills":1227,"totalDoubleKills":5,"totalTripleKills":1,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":264,"totalGoldEarned":532259,"mostSpellsCast":0,"totalTurretsKilled":21,"totalPhysicalDamageDealt":498776,"totalMagicDamageDealt":943428,"totalFirstBlood":0,"totalAssists":806,"maxChampionsKilled":7,"maxNumDeaths":13}},{"id":53,"stats":{"totalSessionsPlayed":11,"totalSessionsLost":4,"totalSessionsWon":7,"totalChampionKills":33,"totalDamageDealt":429296,"totalDamageTaken":247797,"mostChampionKillsPerSession":6,"totalMinionKills":364,"totalDoubleKills":0,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":54,"totalGoldEarned":106958,"mostSpellsCast":0,"totalTurretsKilled":4,"totalPhysicalDamageDealt":133734,"totalMagicDamageDealt":276159,"totalFirstBlood":0,"totalAssists":167,"maxChampionsKilled":6,"maxNumDeaths":8}},{"id":85,"stats":{"totalSessionsPlayed":3,"totalSessionsLost":0,"totalSessionsWon":3,"totalChampionKills":18,"totalDamageDealt":249303,"totalDamageTaken":52410,"mostChampionKillsPerSession":8,"totalMinionKills":372,"totalDoubleKills":2,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":9,"totalGoldEarned":39965,"mostSpellsCast":0,"totalTurretsKilled":3,"totalPhysicalDamageDealt":64531,"totalMagicDamageDealt":181672,"totalFirstBlood":0,"totalAssists":52,"maxChampionsKilled":8,"maxNumDeaths":5}},{"id":27,"stats":{"totalSessionsPlayed":2,"totalSessionsLost":1,"totalSessionsWon":1,"totalChampionKills":8,"totalDamageDealt":203506,"totalDamageTaken":70026,"mostChampionKillsPerSession":5,"totalMinionKills":275,"totalDoubleKills":0,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":8,"totalGoldEarned":23613,"mostSpellsCast":0,"totalTurretsKilled":2,"totalPhysicalDamageDealt":11984,"totalMagicDamageDealt":191521,"totalFirstBlood":0,"totalAssists":34,"maxChampionsKilled":5,"maxNumDeaths":7}},{"id":2,"stats":{"totalSessionsPlayed":7,"totalSessionsLost":4,"totalSessionsWon":3,"totalChampionKills":23,"totalDamageDealt":594478,"totalDamageTaken":156380,"mostChampionKillsPerSession":6,"totalMinionKills":992,"totalDoubleKills":1,"totalTripleKills":0,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":29,"totalGoldEarned":72814,"mostSpellsCast":0,"totalTurretsKilled":6,"totalPhysicalDamageDealt":537899,"totalMagicDamageDealt":21145,"totalFirstBlood":0,"totalAssists":69,"maxChampionsKilled":6,"maxNumDeaths":6}},{"id":0,"stats":{"totalSessionsPlayed":132,"totalSessionsLost":62,"totalSessionsWon":70,"totalChampionKills":337,"killingSpree":162,"totalDamageDealt":4917871,"totalDamageTaken":2709371,"mostChampionKillsPerSession":12,"totalMinionKills":4841,"totalDoubleKills":11,"totalTripleKills":2,"totalQuadraKills":0,"totalPentaKills":0,"totalUnrealKills":0,"totalDeathsPerSession":594,"totalGoldEarned":1214654,"mostSpellsCast":0,"totalTurretsKilled":56,"totalPhysicalDamageDealt":2207674,"totalMagicDamageDealt":2502148,"totalNeutralMinionsKilled":519,"totalFirstBlood":0,"totalAssists":1739,"totalHeal":373254,"maxLargestKillingSpree":8,"maxLargestCriticalStrike":712,"maxChampionsKilled":12,"maxNumDeaths":13,"maxTimePlayed":3657,"maxTimeSpentLiving":1986,"normalGamesPlayed":0,"rankedSoloGamesPlayed":0,"rankedPremadeGamesPlayed":0,"botGamesPlayed":0}}]}
|
@@ -3,11 +3,11 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date: Tue,
|
7
|
-
Server: Jetty(9.1.
|
6
|
+
Date: Tue, 17 Feb 2015 21:23:56 GMT
|
7
|
+
Server: Jetty(9.1.5.v20140505)
|
8
8
|
Vary: Accept-Encoding, User-Agent
|
9
|
-
X-NewRelic-App-Data:
|
10
|
-
Content-Length:
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVVdUBAgPUkYdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMB0UVZE1OCRoBb0oTPR4SRg8JWVkEFCpcbx9OQ04HHwdKVB8GA1NRVlADVQ1OFQkYEFFRWgAJBAdTBQBUAARVDFcSOQ==
|
10
|
+
Content-Length: 2350
|
11
11
|
Connection: keep-alive
|
12
12
|
|
13
|
-
{"summonerId":20639710,"playerStatSummaries":[{"playerStatSummaryType":"AramUnranked5x5","wins":
|
13
|
+
{"summonerId":20639710,"playerStatSummaries":[{"playerStatSummaryType":"AramUnranked5x5","wins":30,"modifyDate":1420933173000,"aggregatedStats":{"totalChampionKills":443,"totalTurretsKilled":27,"totalAssists":1350}},{"playerStatSummaryType":"Ascension","wins":1,"modifyDate":1413720569000,"aggregatedStats":{}},{"playerStatSummaryType":"CAP5x5","wins":4,"modifyDate":1417120758000,"aggregatedStats":{"totalChampionKills":22,"totalMinionKills":178,"totalTurretsKilled":4,"totalNeutralMinionsKilled":1,"totalAssists":108}},{"playerStatSummaryType":"CoopVsAI","wins":6,"modifyDate":1390035305000,"aggregatedStats":{"totalChampionKills":41,"totalMinionKills":310,"totalTurretsKilled":7,"totalNeutralMinionsKilled":189,"totalAssists":63}},{"playerStatSummaryType":"KingPoro","wins":1,"modifyDate":1421591897000,"aggregatedStats":{}},{"playerStatSummaryType":"OdinUnranked","wins":29,"modifyDate":1396269381000,"aggregatedStats":{"totalChampionKills":197,"totalAssists":336,"maxChampionsKilled":14,"averageNodeCapture":7,"averageNodeNeutralize":7,"averageTeamObjective":1,"averageTotalPlayerScore":898,"averageCombatPlayerScore":157,"averageObjectivePlayerScore":736,"averageNodeCaptureAssist":1,"averageNodeNeutralizeAssist":2,"maxNodeCapture":13,"maxNodeNeutralize":12,"maxTeamObjective":2,"maxTotalPlayerScore":1815,"maxCombatPlayerScore":521,"maxObjectivePlayerScore":1342,"maxNodeCaptureAssist":3,"maxNodeNeutralizeAssist":4,"totalNodeNeutralize":315,"totalNodeCapture":344,"averageChampionsKilled":5,"averageNumDeaths":3,"averageAssists":7,"maxAssists":15}},{"playerStatSummaryType":"RankedSolo5x5","wins":70,"losses":63,"modifyDate":1421705269000,"aggregatedStats":{"totalChampionKills":340,"totalMinionKills":4854,"totalTurretsKilled":56,"totalNeutralMinionsKilled":519,"totalAssists":1750}},{"playerStatSummaryType":"RankedTeam3x3","wins":0,"losses":0,"modifyDate":1341751807000,"aggregatedStats":{}},{"playerStatSummaryType":"Unranked","wins":417,"modifyDate":1421598594000,"aggregatedStats":{"totalChampionKills":3488,"totalMinionKills":62525,"totalTurretsKilled":693,"totalNeutralMinionsKilled":5455,"totalAssists":7226}},{"playerStatSummaryType":"Unranked3x3","wins":40,"modifyDate":1397477206000,"aggregatedStats":{"totalChampionKills":364,"totalMinionKills":8289,"totalTurretsKilled":37,"totalNeutralMinionsKilled":423,"totalAssists":713}}]}
|
@@ -3,11 +3,11 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date:
|
6
|
+
Date: Tue, 17 Feb 2015 21:23:24 GMT
|
7
7
|
Server: Jetty(9.1.1.v20140108)
|
8
8
|
Vary: Accept-Encoding, User-Agent
|
9
|
-
X-NewRelic-App-Data:
|
10
|
-
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVlhTBAcHX0YdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMEUQDTAtbFVBTRwRlTlQURD5LQAZPVD8XQVUFDQ8VHQdIVB0GHVJWUlcDUA5XFBUFHhEDCAJSWQUDV1cBUQBaWlcBRjw=
|
10
|
+
Content-Length: 300
|
11
11
|
Connection: keep-alive
|
12
12
|
|
13
|
-
{"css":"0.152.55","dd":"4.
|
13
|
+
{"css":"0.152.55","dd":"4.17.1","l":"en_US","n":{"item":"5.3.1","rune":"5.3.1","mastery":"4.17.1","summoner":"5.3.1","champion":"5.3.1","profileicon":"5.3.1","map":"5.3.1","ui":"5.3.1","language":"5.3.1"},"profileiconmax":28,"v":"5.3.1","lg":"0.152.55","cdn":"http://ddragon.leagueoflegends.com/cdn"}
|
@@ -3,10 +3,10 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date:
|
6
|
+
Date: Tue, 17 Feb 2015 21:23:31 GMT
|
7
7
|
Server: Jetty(9.1.1.v20140108)
|
8
8
|
Vary: Accept-Encoding, User-Agent
|
9
|
-
X-NewRelic-App-Data:
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVlhTBAcHX0YdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMEUQDTAtbFVBTRwRlTlQURD5LHGtOFBZWVmxLS0AbARlWSAEYA1NWUFMEUQxXFBUFHhEDC1gIUQoHUwMEUgRWCgIGRjw=
|
10
10
|
transfer-encoding: chunked
|
11
11
|
Connection: keep-alive
|
12
12
|
|
@@ -3,10 +3,11 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date:
|
7
|
-
Server: Jetty(9.1.
|
6
|
+
Date: Tue, 17 Feb 2015 21:24:04 GMT
|
7
|
+
Server: Jetty(9.1.2.v20140210)
|
8
8
|
Vary: Accept-Encoding, User-Agent
|
9
|
-
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVVdUBAgPUkYdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMB0UVZE1OCRoGb0pKFFwMXAwBRGtOFRZVXl8KBBB+VURESAEYA05fTVQEVQ8nFQwYHwJJG1kCUQdUAABTAgJUDFAIUlRAag==
|
10
|
+
Content-Length: 114
|
10
11
|
Connection: keep-alive
|
11
12
|
|
12
|
-
{"20639710":{"id":20639710,"name":"PacoLoco","profileIconId":
|
13
|
+
{"20639710":{"id":20639710,"name":"PacoLoco","profileIconId":709,"summonerLevel":30,"revisionDate":1424122856000}}
|
@@ -3,10 +3,11 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date:
|
7
|
-
Server: Jetty(9.1.
|
6
|
+
Date: Tue, 17 Feb 2015 21:24:01 GMT
|
7
|
+
Server: Jetty(9.1.5.v20140505)
|
8
8
|
Vary: Accept-Encoding, User-Agent
|
9
|
-
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVVdUBAgPUkYdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMB0UVZE1OCRoGb0oTPR4DSk8KV1oEOkwSERxUT1IbCRleVAMOBidLV04dUxRAXAhWAABSWlFTB1EAAQMAUkQ+
|
10
|
+
Content-Length: 114
|
10
11
|
Connection: keep-alive
|
11
12
|
|
12
|
-
{"pacoloco":{"id":20639710,"name":"PacoLoco","profileIconId":
|
13
|
+
{"pacoloco":{"id":20639710,"name":"PacoLoco","profileIconId":709,"summonerLevel":30,"revisionDate":1424122856000}}
|
@@ -3,10 +3,11 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date:
|
7
|
-
Server: Jetty(9.1.
|
6
|
+
Date: Tue, 17 Feb 2015 21:22:46 GMT
|
7
|
+
Server: Jetty(9.1.5.v20140505)
|
8
8
|
Vary: Accept-Encoding, User-Agent
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVVdUBAgPUkYdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMB0UVZE1OCRoBb0oTPR4SRg8JWVkEFCpcbx9OQ04HHwdKVB8GA1BSU1MDWwlOFQkYEFVcDVEFBVdQXQECUAUADAISOQ==
|
9
10
|
transfer-encoding: chunked
|
10
11
|
Connection: keep-alive
|
11
12
|
|
12
|
-
{"games":[{"gameId":1462450355,"invalid":false,"gameMode":"CLASSIC","gameType":"MATCHED_GAME","subType":"NORMAL","mapId":1,"teamId":200,"championId":44,"spell1":4,"spell2":7,"level":30,"ipEarned":52,"createDate":1399415779754,"fellowPlayers":[{"summonerId":228437,"teamId":200,"championId":102},{"summonerId":25235641,"teamId":100,"championId":48}],"stats":{"level":13,"goldEarned":5969,"numDeaths":2,"minionsKilled":10,"goldSpent":5630,"totalDamageDealt":19848,"totalDamageTaken":16127,"team":200,"win":false,"physicalDamageDealtPlayer":7116,"magicDamageDealtPlayer":12732,"physicalDamageTaken":7806,"magicDamageTaken":8069,"timePlayed":1597,"totalHeal":9241,"totalUnitsHealed":4,"assists":8,"item0":3301,"item1":2049,"item2":3047,"item3":3110,"item4":1057,"item6":3340,"sightWardsBought":1,"magicDamageDealtToChampions":3100,"physicalDamageDealtToChampions":1230,"totalDamageDealtToChampions":4330,"trueDamageTaken":252,"wardPlaced":14,"totalTimeCrowdControlDealt":602}}]}
|
13
|
+
{"summonerId":20639710,"games":[{"gameId":1973826334,"invalid":false,"gameMode":"CLASSIC","gameType":"MATCHED_GAME","subType":"RANKED_SOLO_5x5","mapId":11,"teamId":100,"championId":201,"spell1":4,"spell2":3,"level":30,"ipEarned":230,"createDate":1424122856193,"fellowPlayers":[{"summonerId":37641607,"teamId":200,"championId":89},{"summonerId":51912946,"teamId":100,"championId":254},{"summonerId":29130745,"teamId":200,"championId":76},{"summonerId":41656321,"teamId":100,"championId":110},{"summonerId":28384449,"teamId":200,"championId":104},{"summonerId":49169913,"teamId":100,"championId":31},{"summonerId":48477921,"teamId":200,"championId":92},{"summonerId":46088830,"teamId":100,"championId":157},{"summonerId":34549474,"teamId":200,"championId":23}],"stats":{"level":14,"goldEarned":8082,"numDeaths":5,"turretsKilled":2,"minionsKilled":22,"championsKilled":1,"goldSpent":6450,"totalDamageDealt":23601,"totalDamageTaken":16013,"team":100,"win":true,"neutralMinionsKilled":1,"largestMultiKill":1,"physicalDamageDealtPlayer":8069,"magicDamageDealtPlayer":13514,"physicalDamageTaken":11240,"magicDamageTaken":4301,"timePlayed":1654,"totalHeal":2111,"totalUnitsHealed":3,"assists":16,"item0":3302,"item1":2049,"item2":3117,"item3":3068,"item4":3211,"item5":1028,"item6":3340,"sightWardsBought":2,"visionWardsBought":1,"magicDamageDealtToChampions":6370,"physicalDamageDealtToChampions":1687,"totalDamageDealtToChampions":8058,"trueDamageDealtPlayer":2016,"trueDamageTaken":471,"wardPlaced":15,"neutralMinionsKilledEnemyJungle":1,"totalTimeCrowdControlDealt":478}},{"gameId":1973712993,"invalid":false,"gameMode":"CLASSIC","gameType":"MATCHED_GAME","subType":"RANKED_SOLO_5x5","mapId":11,"teamId":100,"championId":201,"spell1":4,"spell2":3,"level":30,"ipEarned":51,"createDate":1424120709337,"fellowPlayers":[{"summonerId":33414860,"teamId":100,"championId":119},{"summonerId":20139000,"teamId":200,"championId":75},{"summonerId":51587055,"teamId":200,"championId":222},{"summonerId":20404963,"teamId":200,"championId":32},{"summonerId":36920753,"teamId":100,"championId":24},{"summonerId":19463789,"teamId":100,"championId":55},{"summonerId":52614026,"teamId":200,"championId":103},{"summonerId":32418164,"teamId":200,"championId":89},{"summonerId":31950222,"teamId":100,"championId":54}],"stats":{"level":9,"goldEarned":4053,"numDeaths":7,"minionsKilled":16,"goldSpent":4025,"totalDamageDealt":7382,"totalDamageTaken":13201,"team":100,"win":false,"physicalDamageDealtPlayer":3065,"magicDamageDealtPlayer":3386,"physicalDamageTaken":7420,"magicDamageTaken":4934,"timePlayed":1287,"totalHeal":1103,"totalUnitsHealed":3,"assists":6,"item0":3302,"item1":2049,"item2":3117,"item3":1031,"item4":1011,"item6":3341,"sightWardsBought":1,"visionWardsBought":2,"magicDamageDealtToChampions":1968,"physicalDamageDealtToChampions":729,"totalDamageDealtToChampions":2698,"trueDamageDealtPlayer":931,"trueDamageTaken":846,"wardKilled":4,"wardPlaced":8,"totalTimeCrowdControlDealt":220}},{"gameId":1969935370,"invalid":false,"gameMode":"ARAM","gameType":"MATCHED_GAME","subType":"ARAM_UNRANKED_5x5","mapId":12,"teamId":200,"championId":42,"spell1":4,"spell2":7,"level":30,"ipEarned":53,"createDate":1423937287905,"fellowPlayers":[{"summonerId":40677446,"teamId":200,"championId":143},{"summonerId":22491747,"teamId":100,"championId":32},{"summonerId":43191854,"teamId":100,"championId":56},{"summonerId":41675369,"teamId":200,"championId":45},{"summonerId":38649743,"teamId":100,"championId":19},{"summonerId":20542411,"teamId":200,"championId":31},{"summonerId":39322322,"teamId":200,"championId":113},{"summonerId":49661958,"teamId":100,"championId":1},{"summonerId":24719435,"teamId":100,"championId":38}],"stats":{"level":18,"goldEarned":13263,"numDeaths":15,"turretsKilled":1,"minionsKilled":52,"championsKilled":10,"goldSpent":12030,"totalDamageDealt":86257,"totalDamageTaken":34615,"doubleKills":2,"killingSprees":2,"largestKillingSpree":3,"team":200,"win":false,"largestMultiKill":2,"physicalDamageDealtPlayer":64563,"magicDamageDealtPlayer":17353,"physicalDamageTaken":9794,"magicDamageTaken":24795,"largestCriticalStrike":778,"timePlayed":1693,"totalHeal":4030,"totalUnitsHealed":4,"assists":27,"item0":3031,"item1":3046,"item2":1053,"item3":3006,"item4":3181,"magicDamageDealtToChampions":8317,"physicalDamageDealtToChampions":23136,"totalDamageDealtToChampions":33710,"trueDamageDealtPlayer":4340,"trueDamageDealtToChampions":2255,"trueDamageTaken":25,"totalTimeCrowdControlDealt":123}},{"gameId":1969841853,"invalid":false,"gameMode":"CLASSIC","gameType":"MATCHED_GAME","subType":"NORMAL","mapId":11,"teamId":200,"championId":85,"spell1":4,"spell2":12,"level":30,"ipEarned":263,"createDate":1423935365809,"fellowPlayers":[{"summonerId":40677446,"teamId":200,"championId":107},{"summonerId":41675369,"teamId":200,"championId":115},{"summonerId":46037435,"teamId":200,"championId":429},{"summonerId":27470834,"teamId":100,"championId":76},{"summonerId":31237106,"teamId":100,"championId":222},{"summonerId":23905032,"teamId":100,"championId":102},{"summonerId":23920172,"teamId":100,"championId":19},{"summonerId":19058174,"teamId":100,"championId":25},{"summonerId":20542411,"teamId":200,"championId":12}],"stats":{"level":18,"goldEarned":12858,"numDeaths":4,"turretsKilled":2,"minionsKilled":163,"championsKilled":3,"goldSpent":12125,"totalDamageDealt":129897,"totalDamageTaken":24937,"killingSprees":1,"largestKillingSpree":2,"team":200,"win":true,"neutralMinionsKilled":4,"largestMultiKill":1,"physicalDamageDealtPlayer":33354,"magicDamageDealtPlayer":96542,"physicalDamageTaken":14008,"magicDamageTaken":10835,"timePlayed":2516,"totalHeal":2176,"totalUnitsHealed":1,"assists":11,"item0":3135,"item1":3157,"item2":3136,"item3":3020,"item4":3089,"item6":3340,"visionWardsBought":1,"magicDamageDealtToChampions":17741,"physicalDamageDealtToChampions":1943,"totalDamageDealtToChampions":19684,"trueDamageTaken":94,"wardKilled":2,"wardPlaced":7,"neutralMinionsKilledEnemyJungle":2,"neutralMinionsKilledYourJungle":2,"totalTimeCrowdControlDealt":78}},{"gameId":1969603646,"invalid":false,"gameMode":"CLASSIC","gameType":"MATCHED_GAME","subType":"NORMAL","mapId":11,"teamId":200,"championId":19,"spell1":4,"spell2":11,"level":30,"ipEarned":64,"createDate":1423932548163,"fellowPlayers":[{"summonerId":40677446,"teamId":200,"championId":238},{"summonerId":27811271,"teamId":200,"championId":76},{"summonerId":27358497,"teamId":100,"championId":67},{"summonerId":41675369,"teamId":200,"championId":101},{"summonerId":19524779,"teamId":100,"championId":99},{"summonerId":21472700,"teamId":100,"championId":40},{"summonerId":20964606,"teamId":100,"championId":35},{"summonerId":20619652,"teamId":100,"championId":31},{"summonerId":20542411,"teamId":200,"championId":429}],"stats":{"level":13,"goldEarned":7819,"numDeaths":11,"turretsKilled":2,"minionsKilled":30,"championsKilled":1,"goldSpent":7245,"totalDamageDealt":88024,"totalDamageTaken":39767,"team":200,"win":false,"neutralMinionsKilled":46,"largestMultiKill":1,"physicalDamageDealtPlayer":42817,"magicDamageDealtPlayer":33369,"physicalDamageTaken":26478,"magicDamageTaken":9158,"timePlayed":2073,"totalHeal":11932,"totalUnitsHealed":1,"assists":3,"item0":3726,"item1":3153,"item2":1001,"item3":1011,"item4":1028,"item6":3340,"magicDamageDealtToChampions":3037,"physicalDamageDealtToChampions":1851,"totalDamageDealtToChampions":4889,"trueDamageDealtPlayer":11838,"trueDamageTaken":4130,"wardPlaced":5,"neutralMinionsKilledEnemyJungle":2,"neutralMinionsKilledYourJungle":44,"totalTimeCrowdControlDealt":105}},{"gameId":1969363073,"invalid":false,"gameMode":"CLASSIC","gameType":"MATCHED_GAME","subType":"RANKED_SOLO_5x5","mapId":11,"teamId":100,"championId":201,"spell1":4,"spell2":3,"level":30,"ipEarned":67,"createDate":1423929081123,"fellowPlayers":[{"summonerId":50911312,"teamId":100,"championId":1},{"summonerId":53388832,"teamId":100,"championId":42},{"summonerId":56891901,"teamId":100,"championId":120},{"summonerId":35929244,"teamId":200,"championId":101},{"summonerId":35120933,"teamId":200,"championId":5},{"summonerId":48588145,"teamId":100,"championId":92},{"summonerId":35146342,"teamId":200,"championId":222},{"summonerId":35165523,"teamId":200,"championId":412},{"summonerId":27577807,"teamId":200,"championId":85}],"stats":{"level":13,"goldEarned":8755,"numDeaths":7,"minionsKilled":44,"championsKilled":2,"goldSpent":7910,"totalDamageDealt":21922,"totalDamageTaken":27972,"team":100,"win":false,"largestMultiKill":1,"physicalDamageDealtPlayer":7326,"magicDamageDealtPlayer":9724,"physicalDamageTaken":9673,"magicDamageTaken":17946,"timePlayed":2183,"totalHeal":3505,"totalUnitsHealed":4,"assists":16,"item0":3401,"item1":2049,"item2":3068,"item3":3117,"item4":3211,"item6":3341,"sightWardsBought":1,"visionWardsBought":2,"magicDamageDealtToChampions":6409,"physicalDamageDealtToChampions":1793,"totalDamageDealtToChampions":8203,"trueDamageDealtPlayer":4871,"trueDamageTaken":352,"wardKilled":5,"wardPlaced":27,"totalTimeCrowdControlDealt":489}},{"gameId":1969305504,"invalid":false,"gameMode":"CLASSIC","gameType":"MATCHED_GAME","subType":"RANKED_SOLO_5x5","mapId":11,"teamId":100,"championId":2,"spell1":4,"spell2":12,"level":30,"ipEarned":54,"createDate":1423926473350,"fellowPlayers":[{"summonerId":35327800,"teamId":200,"championId":74},{"summonerId":25626597,"teamId":100,"championId":131},{"summonerId":70457842,"teamId":100,"championId":51},{"summonerId":60821911,"teamId":200,"championId":222},{"summonerId":29358017,"teamId":200,"championId":5},{"summonerId":24411159,"teamId":200,"championId":412},{"summonerId":23382516,"teamId":200,"championId":7},{"summonerId":62920016,"teamId":100,"championId":103},{"summonerId":59837089,"teamId":100,"championId":201}],"stats":{"level":14,"goldEarned":6860,"numDeaths":4,"minionsKilled":85,"championsKilled":3,"goldSpent":5725,"totalDamageDealt":65226,"totalDamageTaken":16606,"killingSprees":1,"largestKillingSpree":2,"team":100,"win":false,"neutralMinionsKilled":1,"largestMultiKill":1,"physicalDamageDealtPlayer":59816,"physicalDamageTaken":5451,"magicDamageTaken":10745,"timePlayed":1632,"totalHeal":1815,"totalUnitsHealed":1,"assists":4,"item0":1054,"item1":3047,"item2":1053,"item3":3065,"item4":1029,"item5":1029,"item6":3340,"visionWardsBought":1,"physicalDamageDealtToChampions":5768,"totalDamageDealtToChampions":8935,"trueDamageDealtPlayer":5409,"trueDamageDealtToChampions":3166,"trueDamageTaken":409,"wardPlaced":4,"neutralMinionsKilledYourJungle":1,"totalTimeCrowdControlDealt":3064}},{"gameId":1969229137,"invalid":false,"gameMode":"CLASSIC","gameType":"MATCHED_GAME","subType":"RANKED_SOLO_5x5","mapId":11,"teamId":200,"championId":53,"spell1":4,"spell2":3,"level":30,"ipEarned":54,"createDate":1423924362868,"fellowPlayers":[{"summonerId":41641220,"teamId":200,"championId":222},{"summonerId":59036980,"teamId":100,"championId":104},{"summonerId":29415203,"teamId":100,"championId":35},{"summonerId":33838696,"teamId":200,"championId":64},{"summonerId":22045335,"teamId":200,"championId":102},{"summonerId":29941099,"teamId":200,"championId":38},{"summonerId":22394191,"teamId":100,"championId":44},{"summonerId":44803830,"teamId":100,"championId":268},{"summonerId":33120814,"teamId":100,"championId":31}],"stats":{"level":11,"goldEarned":5536,"numDeaths":8,"minionsKilled":33,"championsKilled":2,"goldSpent":4510,"totalDamageDealt":23574,"totalDamageTaken":21977,"team":200,"win":false,"largestMultiKill":1,"physicalDamageDealtPlayer":4441,"magicDamageDealtPlayer":15768,"physicalDamageTaken":17359,"magicDamageTaken":3552,"timePlayed":1658,"totalHeal":2402,"totalUnitsHealed":4,"assists":4,"item0":3401,"item1":2049,"item2":3117,"item3":1029,"item4":1029,"item6":3341,"sightWardsBought":1,"magicDamageDealtToChampions":3973,"physicalDamageDealtToChampions":2214,"totalDamageDealtToChampions":6187,"trueDamageDealtPlayer":3364,"trueDamageTaken":1065,"wardKilled":2,"wardPlaced":15,"totalTimeCrowdControlDealt":49}},{"gameId":1964003620,"invalid":false,"gameMode":"ARAM","gameType":"MATCHED_GAME","subType":"ARAM_UNRANKED_5x5","mapId":12,"teamId":200,"championId":267,"spell1":4,"spell2":7,"level":30,"ipEarned":39,"createDate":1423605677224,"fellowPlayers":[{"summonerId":44926777,"teamId":200,"championId":11},{"summonerId":51673934,"teamId":100,"championId":43},{"summonerId":20288095,"teamId":200,"championId":67},{"summonerId":24262449,"teamId":100,"championId":53},{"summonerId":61997697,"teamId":100,"championId":103},{"summonerId":43087223,"teamId":200,"championId":115},{"summonerId":29816397,"teamId":100,"championId":25},{"summonerId":30128260,"teamId":200,"championId":19},{"summonerId":44669380,"teamId":100,"championId":9}],"stats":{"level":14,"goldEarned":7072,"numDeaths":11,"minionsKilled":10,"championsKilled":1,"goldSpent":7345,"totalDamageDealt":16684,"totalDamageTaken":16980,"team":200,"win":false,"largestMultiKill":1,"physicalDamageDealtPlayer":815,"magicDamageDealtPlayer":15869,"physicalDamageTaken":882,"magicDamageTaken":15314,"timePlayed":1115,"totalHeal":2978,"totalUnitsHealed":5,"assists":7,"item0":1026,"item1":3089,"item2":3136,"item3":1001,"item6":2052,"magicDamageDealtToChampions":7591,"physicalDamageDealtToChampions":668,"totalDamageDealtToChampions":8260,"trueDamageTaken":783,"totalTimeCrowdControlDealt":112}},{"gameId":1963983814,"invalid":false,"gameMode":"ARAM","gameType":"MATCHED_GAME","subType":"ARAM_UNRANKED_5x5","mapId":12,"teamId":100,"championId":19,"spell1":4,"spell2":7,"level":30,"ipEarned":38,"createDate":1423604290992,"fellowPlayers":[{"summonerId":61631059,"teamId":200,"championId":22},{"summonerId":20288095,"teamId":100,"championId":56},{"summonerId":61391028,"teamId":200,"championId":16},{"summonerId":70037724,"teamId":200,"championId":126},{"summonerId":44248102,"teamId":200,"championId":134},{"summonerId":39474024,"teamId":100,"championId":15},{"summonerId":40627842,"teamId":100,"championId":4},{"summonerId":44673327,"teamId":100,"championId":82},{"summonerId":69867820,"teamId":200,"championId":55}],"stats":{"level":15,"goldEarned":8175,"numDeaths":5,"minionsKilled":17,"championsKilled":5,"goldSpent":7675,"totalDamageDealt":13648,"totalDamageTaken":17734,"killingSprees":2,"largestKillingSpree":2,"team":100,"win":false,"largestMultiKill":1,"physicalDamageDealtPlayer":5009,"magicDamageDealtPlayer":8639,"physicalDamageTaken":6732,"magicDamageTaken":10900,"timePlayed":1038,"totalHeal":6507,"totalUnitsHealed":4,"assists":12,"item0":3025,"item1":3100,"item2":3020,"item3":1033,"item6":2052,"magicDamageDealtToChampions":5666,"physicalDamageDealtToChampions":1352,"totalDamageDealtToChampions":7018,"trueDamageTaken":102,"totalTimeCrowdControlDealt":67}}]}
|
@@ -3,10 +3,11 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date:
|
7
|
-
Server: Jetty(9.1.
|
6
|
+
Date: Tue, 17 Feb 2015 21:24:06 GMT
|
7
|
+
Server: Jetty(9.1.2.v20140210)
|
8
8
|
Vary: Accept-Encoding, User-Agent
|
9
|
-
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVVdUBAgPUkYdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMB0UVZE1OCRoGb0oTPR4SRg8JWVkEFCpcQGxLS0AbARlWSAEYA1VXWloIUApXFBUFHhFWXFNSUwBWAgUEVANVCQEFRjw=
|
10
|
+
Content-Length: 3455
|
10
11
|
Connection: keep-alive
|
11
12
|
|
12
|
-
{"20639710":{"summonerId":20639710,"pages":[{"id":37482369,"name":"support","current":false,"masteries":[{"id":4212,"rank":2},{"id":4233,"rank":3}]},{"id":37482370,"name":"jungler","current":false,"masteries":[{"id":4233,"rank":3},{"id":4242,"rank":1}]}]}}
|
13
|
+
{"20639710":{"summonerId":20639710,"pages":[{"id":37482369,"name":"support","current":false,"masteries":[{"id":4212,"rank":2},{"id":4233,"rank":3},{"id":4211,"rank":2},{"id":4243,"rank":1},{"id":4121,"rank":1},{"id":4222,"rank":3},{"id":4113,"rank":4},{"id":4221,"rank":1},{"id":4252,"rank":4},{"id":4122,"rank":3},{"id":4262,"rank":1},{"id":4132,"rank":1},{"id":4241,"rank":3},{"id":4232,"rank":1}]},{"id":37482370,"name":"jungler","current":false,"masteries":[{"id":4233,"rank":3},{"id":4242,"rank":1},{"id":4211,"rank":2},{"id":4121,"rank":1},{"id":4213,"rank":2},{"id":4234,"rank":3},{"id":4222,"rank":3},{"id":4113,"rank":4},{"id":4221,"rank":1},{"id":4252,"rank":4},{"id":4123,"rank":3},{"id":4262,"rank":1},{"id":4133,"rank":1},{"id":4232,"rank":1}]},{"id":37482371,"name":"xin","current":false,"masteries":[{"id":4233,"rank":3},{"id":4211,"rank":2},{"id":4121,"rank":1},{"id":4213,"rank":2},{"id":4244,"rank":1},{"id":4234,"rank":3},{"id":4112,"rank":4},{"id":4222,"rank":3},{"id":4221,"rank":1},{"id":4252,"rank":4},{"id":4122,"rank":3},{"id":4262,"rank":1},{"id":4132,"rank":1},{"id":4232,"rank":1}]},{"id":37482372,"name":"tank","current":true,"masteries":[{"id":4212,"rank":2},{"id":4233,"rank":3},{"id":4242,"rank":1},{"id":4331,"rank":1},{"id":4243,"rank":1},{"id":4213,"rank":2},{"id":4211,"rank":1},{"id":4323,"rank":1},{"id":4222,"rank":3},{"id":4324,"rank":1},{"id":4262,"rank":1},{"id":4252,"rank":3},{"id":4312,"rank":3},{"id":4313,"rank":3},{"id":4241,"rank":3},{"id":4232,"rank":1}]},{"id":37482374,"name":"tresh","current":false,"masteries":[{"id":4212,"rank":2},{"id":4353,"rank":3},{"id":4211,"rank":2},{"id":4362,"rank":1},{"id":4322,"rank":3},{"id":4334,"rank":1},{"id":4222,"rank":3},{"id":4314,"rank":1},{"id":4221,"rank":1},{"id":4331,"rank":3},{"id":4324,"rank":1},{"id":4312,"rank":3},{"id":4313,"rank":3},{"id":4232,"rank":1},{"id":4342,"rank":1},{"id":4341,"rank":1}]},{"id":37482375,"name":"galio supp","current":false,"masteries":[{"id":4212,"rank":2},{"id":4233,"rank":3},{"id":4242,"rank":1},{"id":4211,"rank":2},{"id":4213,"rank":2},{"id":4241,"rank":2},{"id":4222,"rank":3},{"id":4221,"rank":1},{"id":4252,"rank":4},{"id":4253,"rank":1},{"id":4262,"rank":1},{"id":4231,"rank":1},{"id":4313,"rank":3},{"id":4232,"rank":1},{"id":4234,"rank":2}]},{"id":37482376,"name":"adc","current":false,"masteries":[{"id":4211,"rank":2},{"id":4134,"rank":3},{"id":4213,"rank":2},{"id":4212,"rank":1},{"id":4151,"rank":1},{"id":4222,"rank":3},{"id":4112,"rank":4},{"id":4144,"rank":1},{"id":4122,"rank":3},{"id":4152,"rank":3},{"id":4111,"rank":1},{"id":4132,"rank":1},{"id":4142,"rank":3},{"id":4233,"rank":1},{"id":4162,"rank":1}]},{"id":37482377,"name":"janna","current":false,"masteries":[{"id":4353,"rank":3},{"id":4362,"rank":1},{"id":4121,"rank":1},{"id":4322,"rank":3},{"id":4334,"rank":1},{"id":4352,"rank":1},{"id":4323,"rank":1},{"id":4113,"rank":4},{"id":4314,"rank":1},{"id":4331,"rank":3},{"id":4324,"rank":1},{"id":4123,"rank":3},{"id":4344,"rank":1},{"id":4313,"rank":3},{"id":4133,"rank":1},{"id":4342,"rank":1},{"id":4341,"rank":1}]},{"id":37482378,"name":"VEIGAR","current":false,"masteries":[{"id":4121,"rank":1},{"id":4134,"rank":3},{"id":4322,"rank":3},{"id":4332,"rank":1},{"id":4154,"rank":1},{"id":4323,"rank":1},{"id":4113,"rank":4},{"id":4314,"rank":1},{"id":4152,"rank":3},{"id":4123,"rank":3},{"id":4111,"rank":1},{"id":4313,"rank":3},{"id":4133,"rank":1},{"id":4143,"rank":3},{"id":4162,"rank":1}]}]}}
|
@@ -3,10 +3,11 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date:
|
7
|
-
Server: Jetty(9.1.
|
6
|
+
Date: Tue, 17 Feb 2015 21:24:09 GMT
|
7
|
+
Server: Jetty(9.1.5.v20140505)
|
8
8
|
Vary: Accept-Encoding, User-Agent
|
9
|
-
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVVdUBAgPUkYdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMB0UVZE1OCRoGb0oTPR4SRg8JWVkEFCpcQGxLS0AbARlWSAEYA1VXW1cJWw1OFQkYEAAHAVEBUQEAAg8EU14AWwUSOQ==
|
10
|
+
transfer-encoding: chunked
|
10
11
|
Connection: keep-alive
|
11
12
|
|
12
|
-
{"20639710":{"summonerId":20639710,"pages":[{"id":6182779,"name":"ad","current":
|
13
|
+
{"20639710":{"summonerId":20639710,"pages":[{"id":6182779,"name":"ad","current":false,"slots":[{"runeSlotId":1,"runeId":5253},{"runeSlotId":2,"runeId":5253},{"runeSlotId":3,"runeId":5253},{"runeSlotId":4,"runeId":5253},{"runeSlotId":5,"runeId":5253},{"runeSlotId":6,"runeId":5253},{"runeSlotId":7,"runeId":5253},{"runeSlotId":8,"runeId":5253},{"runeSlotId":9,"runeId":5253},{"runeSlotId":10,"runeId":5317},{"runeSlotId":11,"runeId":5317},{"runeSlotId":12,"runeId":5317},{"runeSlotId":13,"runeId":5317},{"runeSlotId":14,"runeId":5317},{"runeSlotId":15,"runeId":5317},{"runeSlotId":16,"runeId":5317},{"runeSlotId":17,"runeId":5317},{"runeSlotId":18,"runeId":5317},{"runeSlotId":19,"runeId":5289},{"runeSlotId":20,"runeId":5289},{"runeSlotId":21,"runeId":5289},{"runeSlotId":22,"runeId":5289},{"runeSlotId":23,"runeId":5289},{"runeSlotId":24,"runeId":5289},{"runeSlotId":25,"runeId":5289},{"runeSlotId":26,"runeId":5289},{"runeSlotId":27,"runeId":5289},{"runeSlotId":28,"runeId":5335},{"runeSlotId":29,"runeId":5335},{"runeSlotId":30,"runeId":5335}]},{"id":6182780,"name":"ap","current":false,"slots":[{"runeSlotId":1,"runeId":5245},{"runeSlotId":2,"runeId":5245},{"runeSlotId":3,"runeId":5245},{"runeSlotId":4,"runeId":5245},{"runeSlotId":5,"runeId":5245},{"runeSlotId":6,"runeId":5245},{"runeSlotId":7,"runeId":5245},{"runeSlotId":8,"runeId":5245},{"runeSlotId":9,"runeId":5245},{"runeSlotId":10,"runeId":5317},{"runeSlotId":11,"runeId":5317},{"runeSlotId":12,"runeId":5317},{"runeSlotId":13,"runeId":5317},{"runeSlotId":14,"runeId":5317},{"runeSlotId":15,"runeId":5317},{"runeSlotId":16,"runeId":5317},{"runeSlotId":17,"runeId":5317},{"runeSlotId":18,"runeId":5317},{"runeSlotId":19,"runeId":5289},{"runeSlotId":20,"runeId":5289},{"runeSlotId":21,"runeId":5289},{"runeSlotId":22,"runeId":5289},{"runeSlotId":23,"runeId":5289},{"runeSlotId":24,"runeId":5289},{"runeSlotId":25,"runeId":5289},{"runeSlotId":26,"runeId":5289},{"runeSlotId":27,"runeId":5289},{"runeSlotId":28,"runeId":5345},{"runeSlotId":29,"runeId":5345},{"runeSlotId":30,"runeId":5347}]},{"id":95287943,"name":"REAL AP","current":true,"slots":[{"runeSlotId":1,"runeId":5273},{"runeSlotId":2,"runeId":5273},{"runeSlotId":3,"runeId":5273},{"runeSlotId":4,"runeId":5273},{"runeSlotId":5,"runeId":5273},{"runeSlotId":6,"runeId":5273},{"runeSlotId":7,"runeId":5273},{"runeSlotId":8,"runeId":5273},{"runeSlotId":9,"runeId":5273},{"runeSlotId":10,"runeId":5327},{"runeSlotId":11,"runeId":5327},{"runeSlotId":12,"runeId":5327},{"runeSlotId":13,"runeId":5327},{"runeSlotId":14,"runeId":5327},{"runeSlotId":15,"runeId":5327},{"runeSlotId":16,"runeId":5327},{"runeSlotId":17,"runeId":5327},{"runeSlotId":18,"runeId":5327},{"runeSlotId":19,"runeId":5289},{"runeSlotId":20,"runeId":5289},{"runeSlotId":21,"runeId":5289},{"runeSlotId":22,"runeId":5289},{"runeSlotId":23,"runeId":5289},{"runeSlotId":24,"runeId":5289},{"runeSlotId":25,"runeId":5289},{"runeSlotId":26,"runeId":5289},{"runeSlotId":27,"runeId":5289},{"runeSlotId":28,"runeId":5357},{"runeSlotId":29,"runeId":5357},{"runeSlotId":30,"runeId":5357}]}]}}
|
@@ -3,11 +3,11 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date:
|
6
|
+
Date: Tue, 17 Feb 2015 21:23:41 GMT
|
7
7
|
Server: Jetty(9.1.1.v20140108)
|
8
8
|
Vary: Accept-Encoding, User-Agent
|
9
|
-
X-NewRelic-App-Data:
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVlhTBAcHX0YdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMEUQDTAtbFVBTRwRlTlQURD5LHGtOFRZVXl8KBBAaQkcDCF1qHEhET1IeUhRSFggFAgZVClYFVR9PVRoVAwRVXVBSVVcGUVUHU1EIVxE/
|
10
10
|
transfer-encoding: chunked
|
11
11
|
Connection: keep-alive
|
12
12
|
|
13
|
-
{"name":"Garnison","description":"Tourelle alliée : octroie une régénération considérable pendant 8 sec. Tourelle ennemie : réduit les dégâts infligés de 80% pendant 8 sec.","sanitizedDescription":"Tourelle alliée : octroie une régénération considérable pendant 8 sec. Tourelle ennemie : réduit les dégâts infligés de 80% pendant 8 sec.","tooltip":"<span class=\"size16 colorFF9900\">Tourelle alliée :</span> octroie une régénération considérable pendant 8 sec.<br><br><span class=\"size16 colorFF9900\">Tourelle ennemie :</span> réduit les dégâts infligés de 80% pendant 8 sec.","sanitizedTooltip":"Tourelle alliée : octroie une régénération considérable pendant 8 sec. Tourelle ennemie : réduit les dégâts infligés de 80% pendant 8 sec.","leveltip":{"label":[""],"effect":[""]},"image":{"full":"SummonerOdinGarrison.png","sprite":"spell0.png","group":"spell","x":
|
13
|
+
{"name":"Garnison","description":"Tourelle alliée : octroie une régénération considérable pendant 8 sec. Tourelle ennemie : réduit les dégâts infligés de 80% pendant 8 sec.","sanitizedDescription":"Tourelle alliée : octroie une régénération considérable pendant 8 sec. Tourelle ennemie : réduit les dégâts infligés de 80% pendant 8 sec.","tooltip":"<span class=\"size16 colorFF9900\">Tourelle alliée :</span> octroie une régénération considérable pendant 8 sec.<br><br><span class=\"size16 colorFF9900\">Tourelle ennemie :</span> réduit les dégâts infligés de 80% pendant 8 sec.","sanitizedTooltip":"Tourelle alliée : octroie une régénération considérable pendant 8 sec. Tourelle ennemie : réduit les dégâts infligés de 80% pendant 8 sec.","leveltip":{"label":[""],"effect":[""]},"image":{"full":"SummonerOdinGarrison.png","sprite":"spell0.png","group":"spell","x":432,"y":0,"w":48,"h":48},"resource":"Pas de coût","maxrank":1,"cost":[0],"costType":"NoCost","costBurn":"0","cooldown":[210.0],"cooldownBurn":"210","range":[1250],"rangeBurn":"1250","summonerLevel":1,"id":17,"key":"SummonerOdinGarrison","modes":["ODIN"]}
|
@@ -3,11 +3,11 @@ Access-Control-Allow-Headers: Content-Type
|
|
3
3
|
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
4
|
Access-Control-Allow-Origin: *
|
5
5
|
Content-Type: application/json; charset=UTF-8
|
6
|
-
Date:
|
6
|
+
Date: Tue, 17 Feb 2015 21:23:44 GMT
|
7
7
|
Server: Jetty(9.1.1.v20140108)
|
8
8
|
Vary: Accept-Encoding, User-Agent
|
9
|
-
X-NewRelic-App-Data:
|
10
|
-
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVlhTBAcHX0YdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMEUQDTAtbFVBTRwRlTlQURD5LQAZPVD8XRVUWEgtYX0RESAEYA05WTVIAUApQCwwHAx9ICE0TUFdTAQICV1cAWQBUB1FUBxNq
|
10
|
+
transfer-encoding: chunked
|
11
11
|
Connection: keep-alive
|
12
12
|
|
13
|
-
["4.11.3","4.10.7","4.10.2","4.9.1","4.8.3","4.8.2","4.8.1","4.7.16","4.7.9","4.7.8","4.
|
13
|
+
["5.3.1","5.2.2","5.2.1","5.1.2","5.1.1","4.21.5","4.21.4","4.21.3","4.21.1","4.20.2","4.20.1","4.19.3","4.19.2","4.18.1","4.17.1","4.16.1","4.15.1","4.14.2","4.13.1","4.12.2","4.12.1","4.11.3","4.10.7","4.10.2","4.9.1","4.8.3","4.8.2","4.8.1","4.7.16","4.7.9","4.7.8","4.6.3","4.5.4","4.4.3","4.4.2","4.3.18","4.3.12","4.3.10","4.3.4","4.3.2","4.2.6","4.2.5","4.2.1","4.1.43","4.1.41","4.1.13","4.1.9","4.1.2","3.15.5","3.15.4","3.15.2","3.14.41","3.14.23","3.14.22","3.14.20","3.14.19","3.14.16","3.14.13","3.14.12","3.13.24","3.13.8","3.13.6","3.13.1","3.12.37","3.12.36","3.12.34","3.12.33","3.12.26","3.12.24","3.12.2","3.11.4","3.11.2","3.10.6","3.10.3","3.10.2","3.9.7","3.9.5","3.9.4","3.8.5","3.8.3","3.8.1","3.7.9","3.7.2","3.7.1","3.6.15","3.6.14","0.154.3","0.154.2","0.153.2","0.152.115","0.152.108","0.152.107","0.152.55","0.151.101","0.151.2"]
|
@@ -0,0 +1,13 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Access-Control-Allow-Headers: Content-Type
|
3
|
+
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
|
4
|
+
Access-Control-Allow-Origin: *
|
5
|
+
Content-Type: application/json; charset=UTF-8
|
6
|
+
Date: Tue, 17 Feb 2015 21:23:59 GMT
|
7
|
+
Server: Jetty(9.1.5.v20140505)
|
8
|
+
Vary: Accept-Encoding, User-Agent
|
9
|
+
X-NewRelic-App-Data: PxQFWFFSDwQTVVdUBAgPUkYdFGQHBDcQUQxLA1tMXV1dORYzVBBGBxdCdhUSEVFRRRAEPhhQRw84HlpcDjpMB0UVZE1OCRoGb0oTPR4DSk8KV1oEOkwSERxUT1IbCRlQVQUBAidLV04dUxRACVxQVgJRXQMHA1BXXVUOA0Q+
|
10
|
+
Content-Length: 114
|
11
|
+
Connection: keep-alive
|
12
|
+
|
13
|
+
{"pacoloco":{"id":20639710,"name":"PacoLoco","profileIconId":709,"summonerLevel":30,"revisionDate":1424122856000}}
|
data/spec/riot_lol_api_spec.rb
CHANGED
@@ -4,617 +4,568 @@ require 'pp'
|
|
4
4
|
|
5
5
|
describe RiotLolApi::Client do
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
realm_response = File.read 'spec/mock_response/get_realm.json'
|
10
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/realm?api_key=#{RiotLolApi::TOKEN}").to_return(realm_response)
|
11
|
-
|
12
|
-
end
|
7
|
+
before(:each) do
|
13
8
|
|
14
|
-
|
15
|
-
|
16
|
-
it "transform string CamelCase in to symbol" do
|
17
|
-
test = "lolApiTest"
|
18
|
-
expect(test.to_symbol).to eq :lol_api_test
|
19
|
-
end
|
20
|
-
|
21
|
-
it "transform hash keys CamelCase in to symbol" do
|
22
|
-
hash_test = {"lolApiTest" => "lol", "testLol" => "truc"}
|
23
|
-
expect(hash_test.to_symbol).to eq({:lol_api_test => "lol", :test_lol => "truc"})
|
24
|
-
end
|
25
|
-
|
26
|
-
it "Add instance of class to_symbol" do
|
27
|
-
hash_result = {"lolApiTest" => "lol", "testLol" => "truc", "masteries" => [{"id" => 4212,"rank" => 2},{"id" => 4233,"rank" => 3}], "stats" => {"truc" => 0, "machin" => 2}}.to_symbol
|
28
|
-
# Test Array
|
29
|
-
expect(hash_result[:masteries][0]).to be_a RiotLolApi::Model::Mastery
|
30
|
-
# Test Hash
|
31
|
-
expect(hash_result[:stats]).to be_a RiotLolApi::Model::Stat
|
32
|
-
end
|
33
|
-
|
34
|
-
end
|
35
|
-
|
36
|
-
describe "set realm when create client" do
|
37
|
-
it "define RiotLolApi::REALM" do
|
38
|
-
client = FactoryGirl.build(:client)
|
39
|
-
expect(RiotLolApi::Client.realm).to eq({"css" => "0.152.55","dd" => "4.2.6","l" => "en_US","n" => {"item" => "4.8.3","rune" => "4.8.3","mastery" => "4.8.3","summoner" => "4.8.3","champion" => "4.8.3","profileicon" => "4.8.3","language" => "4.8.3"},"profileiconmax" => 28,"v" => "4.8.3","lg" => "0.152.55","cdn" => "http://ddragon.leagueoflegends.com/cdn"})
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
describe "get_summoner_by_name" do
|
44
|
-
|
45
|
-
before(:each) do
|
46
|
-
# Create client
|
47
|
-
client = FactoryGirl.build(:client)
|
48
|
-
name = "pacoloco"
|
49
|
-
|
50
|
-
api_response = File.read 'spec/mock_response/get_summoner_by_name.json'
|
51
|
-
stub_request(:get, "https://#{client.region}.api.pvp.net/api/lol/euw/v1.4/summoner/by-name/#{name}?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
52
|
-
|
53
|
-
@summoner_test = client.get_summoner_by_name(name)
|
54
|
-
end
|
55
|
-
|
56
|
-
it "should get summoner object" do
|
57
|
-
expect(@summoner_test).to be_a RiotLolApi::Model::Summoner
|
58
|
-
end
|
59
|
-
|
60
|
-
it "should have good attributes" do
|
61
|
-
summoner = FactoryGirl.build(:summoner)
|
62
|
-
|
63
|
-
expect(@summoner_test.id).to eq(summoner.id)
|
64
|
-
expect(@summoner_test.name).to eq(summoner.name)
|
65
|
-
expect(@summoner_test.profile_icon_id).to eq(summoner.profile_icon_id)
|
66
|
-
expect(@summoner_test.summoner_level).to eq(summoner.summoner_level)
|
67
|
-
expect(@summoner_test.revision_date).to eq(summoner.revision_date)
|
68
|
-
expect(@summoner_test.region).to eq(summoner.region)
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
describe "get_summoner_by_id" do
|
73
|
-
|
74
|
-
before(:each) do
|
75
|
-
# Create client
|
76
|
-
client = FactoryGirl.build(:client)
|
77
|
-
id = 20639710
|
78
|
-
|
79
|
-
api_response = File.read 'spec/mock_response/get_summoner_by_id.json'
|
80
|
-
stub_request(:get, "https://#{client.region}.api.pvp.net/api/lol/euw/v1.4/summoner/#{id}?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
81
|
-
|
82
|
-
@summoner_test = client.get_summoner_by_id(id)
|
83
|
-
end
|
84
|
-
|
85
|
-
it "should get summoner object" do
|
86
|
-
expect(@summoner_test).to be_a RiotLolApi::Model::Summoner
|
87
|
-
end
|
88
|
-
|
89
|
-
it "should have good attributes" do
|
90
|
-
summoner = FactoryGirl.build(:summoner)
|
91
|
-
|
92
|
-
expect(@summoner_test.id).to eq(summoner.id)
|
93
|
-
expect(@summoner_test.name).to eq(summoner.name)
|
94
|
-
expect(@summoner_test.profile_icon_id).to eq(summoner.profile_icon_id)
|
95
|
-
expect(@summoner_test.summoner_level).to eq(summoner.summoner_level)
|
96
|
-
expect(@summoner_test.revision_date).to eq(summoner.revision_date)
|
97
|
-
expect(@summoner_test.region).to eq(summoner.region)
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
|
-
describe "get summoner masteries pages" do
|
102
|
-
|
103
|
-
before(:each) do
|
104
|
-
# Create summoner
|
105
|
-
summoner = FactoryGirl.build(:summoner)
|
106
|
-
|
107
|
-
api_response = File.read 'spec/mock_response/get_summoner_masteries_by_id.json'
|
108
|
-
stub_request(:get, "https://#{summoner.region}.api.pvp.net/api/lol/euw/v1.4/summoner/#{summoner.id}/masteries?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
109
|
-
|
110
|
-
@page_test = summoner.masteries
|
111
|
-
end
|
112
|
-
|
113
|
-
it "should have good attributes" do
|
114
|
-
tab_pages = Array.new
|
115
|
-
tab_pages << FactoryGirl.build(:page, :id => 37482369, :name => "support", :current => false, :masteries => [RiotLolApi::Model::Mastery.new(:id => 4212,:rank => 2),RiotLolApi::Model::Mastery.new(:id => 4233,:rank => 3)])
|
116
|
-
tab_pages << FactoryGirl.build(:page, :id => 37482370, :name => "jungler", :current => false, :masteries => [RiotLolApi::Model::Mastery.new(:id => 4233,:rank => 3),RiotLolApi::Model::Mastery.new(:id => 4242,:rank => 1)])
|
117
|
-
|
118
|
-
@page_test.each_with_index do |page,i|
|
119
|
-
expect(page.id).to eq(tab_pages[i].id)
|
120
|
-
expect(page.name).to eq(tab_pages[i].name)
|
121
|
-
expect(page.current).to eq(tab_pages[i].current)
|
122
|
-
page.masteries.each_with_index do |mastery,j|
|
123
|
-
expect(mastery.id).to eq(tab_pages[i].masteries[j].id)
|
124
|
-
expect(mastery.rank).to eq(tab_pages[i].masteries[j].rank)
|
125
|
-
end
|
126
|
-
end
|
127
|
-
end
|
128
|
-
end
|
129
|
-
|
130
|
-
describe "get summoner runes" do
|
131
|
-
|
132
|
-
before(:each) do
|
133
|
-
# Create summoner
|
134
|
-
summoner = FactoryGirl.build(:summoner)
|
135
|
-
|
136
|
-
api_response = File.read 'spec/mock_response/get_summoner_runes_by_id.json'
|
137
|
-
stub_request(:get, "https://#{summoner.region}.api.pvp.net/api/lol/euw/v1.4/summoner/#{summoner.id}/runes?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
138
|
-
|
139
|
-
@rune_test = summoner.runes
|
140
|
-
end
|
141
|
-
|
142
|
-
it "should have good attributes" do
|
143
|
-
tab_runes = Array.new
|
144
|
-
tab_runes << FactoryGirl.build(:page, :id => 6182779, :name => "ad", :current => true, :slots => [RiotLolApi::Model::Slot.new(:rune_slot_id => 1,:rune_id => 5253),RiotLolApi::Model::Slot.new(:rune_slot_id => 2,:rune_id => 5253)])
|
145
|
-
tab_runes << FactoryGirl.build(:page, :id => 6182780, :name => "ap", :current => false, :slots => [RiotLolApi::Model::Slot.new(:rune_slot_id => 1,:rune_id => 5245),RiotLolApi::Model::Slot.new(:rune_slot_id => 2,:rune_id => 5245)])
|
146
|
-
|
147
|
-
@rune_test.each_with_index do |rune,i|
|
148
|
-
expect(rune.id).to eq(tab_runes[i].id)
|
149
|
-
expect(rune.name).to eq(tab_runes[i].name)
|
150
|
-
expect(rune.current).to eq(tab_runes[i].current)
|
151
|
-
rune.slots.each_with_index do |slot,j|
|
152
|
-
expect(slot.rune_slot_id).to eq(tab_runes[i].slots[j].rune_slot_id)
|
153
|
-
expect(slot.rune_id).to eq(tab_runes[i].slots[j].rune_id)
|
154
|
-
end
|
155
|
-
end
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
describe "get summoner games" do
|
160
|
-
|
161
|
-
before(:each) do
|
162
|
-
# Create summoner
|
163
|
-
summoner = FactoryGirl.build(:summoner)
|
164
|
-
|
165
|
-
api_response = File.read 'spec/mock_response/get_summoner_games_by_id.json'
|
166
|
-
stub_request(:get, "https://#{summoner.region}.api.pvp.net/api/lol/euw/v1.3/game/by-summoner/#{summoner.id}/recent?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
167
|
-
|
168
|
-
@game_tests = summoner.games
|
169
|
-
end
|
170
|
-
|
171
|
-
it "should have good attributes" do
|
172
|
-
game = FactoryGirl.build(:game, :fellow_players => [RiotLolApi::Model::FellowPlayer.new(:summoner_id => 228437,:team_id => 200, :champion_id => 102),RiotLolApi::Model::FellowPlayer.new(:summoner_id => 25235641,:team_id => 100, :champion_id => 48)], :stats =>
|
173
|
-
RiotLolApi::Model::Stat.new(:ward_killed => nil, :vision_wards_bought => nil, :victory_point_total => nil, :unreal_kills => nil, :turrets_killed => nil, :true_damage_taken => nil, :true_damage_dealt_to_champions => nil, :true_damage_dealt_player => nil, :triple_kills => nil, :total_score_rank => nil, :total_player_score => nil, :team_objective => nil, :super_monster_killed => nil, :summon_spell2_cast => nil, :summon_spell1_cast => nil, :spell4_cast => nil, :spell3_cast => nil, :spell2_cast => nil, :spell1_cast => nil, :quadra_kills => nil, :penta_kills => nil, :objective_player_score => nil, :num_items_bought => nil, :node_neutralize_assist => nil, :node_neutralize => nil, :node_capture_assist => nil,:node_capture => nil, :nexus_killed => nil, :neutral_minions_killed_your_jungle => nil,:neutral_minions_killed_enemy_jungle => nil,:neutral_minions_killed => nil, :minions_denied => nil, :legendary_items_created => nil,:largest_multi_kill => nil, :largest_killing_spree =>nil, :largest_critical_strike => nil, :killing_sprees => nil, :items_purchased => nil,:item5 => nil, :gold_earned => 5969, :gold_spent => 5630,:first_blood => nil,:double_kills => nil,:consumables_purchased => nil, :combat_player_score => nil, :champions_killed => nil, :barracks_killed => nil,:level => 13, :num_deaths => 2, :minions_killed => 10, :total_damage_dealt => 19848, :total_damage_taken => 16127, :team => 200, :win => false, :physical_damage_dealt_player => 7116, :magic_damage_dealt_player => 12732, :physical_damage_taken => 7806, :magic_damage_taken => 8069, :time_played => 1597, :total_heal => 9241, :total_units_healed => 4, :assists => 8, :item0 => 3301, :item1 => 2049, :item2 => 3047, :item3 => 3110, :item4 => 1057, :item6 => 3340, :sight_wards_bought => 1, :magic_damage_dealt_to_champions => 3100, :physical_damage_dealt_to_champions => 1230, :total_damage_dealt_to_champions => 4330, :true_damage_taken => 252, :ward_placed => 14, :total_time_crowd_control_dealt => 602))
|
174
|
-
|
175
|
-
@game_tests.each do |game_test|
|
176
|
-
expect(game_test.game_id).to eq(game.game_id)
|
177
|
-
expect(game_test.invalid).to eq(game.invalid)
|
178
|
-
expect(game_test.game_mode).to eq(game.game_mode)
|
179
|
-
expect(game_test.game_type).to eq(game.game_type)
|
180
|
-
expect(game_test.sub_type).to eq(game.sub_type)
|
181
|
-
expect(game_test.map_id).to eq(game.map_id)
|
182
|
-
expect(game_test.team_id).to eq(game.team_id)
|
183
|
-
expect(game_test.champion_id).to eq(game.champion_id)
|
184
|
-
expect(game_test.spell1).to eq(game.spell1)
|
185
|
-
expect(game_test.spell2).to eq(game.spell2)
|
186
|
-
expect(game_test.level).to eq(game.level)
|
187
|
-
expect(game_test.ip_earned).to eq(game.ip_earned)
|
188
|
-
expect(game_test.create_date).to eq(game.create_date)
|
189
|
-
|
190
|
-
game_test.fellow_players.each_with_index do |fellow_player, i|
|
191
|
-
expect(fellow_player.summoner_id).to eq(game.fellow_players[i].summoner_id)
|
192
|
-
expect(fellow_player.team_id).to eq(game.fellow_players[i].team_id)
|
193
|
-
expect(fellow_player.champion_id).to eq(game.fellow_players[i].champion_id)
|
194
|
-
end
|
195
|
-
|
196
|
-
expect(game_test.stats.level).to eq(game.stats.level)
|
197
|
-
expect(game_test.stats.champions_killed).to eq(game.stats.champions_killed)
|
198
|
-
expect(game_test.stats.barracks_killed).to eq(game.stats.barracks_killed)
|
199
|
-
expect(game_test.stats.combat_player_score).to eq(game.stats.combat_player_score)
|
200
|
-
expect(game_test.stats.consumables_purchased).to eq(game.stats.consumables_purchased)
|
201
|
-
expect(game_test.stats.double_kills).to eq(game.stats.double_kills)
|
202
|
-
expect(game_test.stats.first_blood).to eq(game.stats.first_blood)
|
203
|
-
expect(game_test.stats.gold_earned).to eq(game.stats.gold_earned)
|
204
|
-
expect(game_test.stats.gold_spent).to eq(game.stats.gold_spent)
|
205
|
-
expect(game_test.stats.item0).to eq(game.stats.item0)
|
206
|
-
expect(game_test.stats.item1).to eq(game.stats.item1)
|
207
|
-
expect(game_test.stats.item2).to eq(game.stats.item2)
|
208
|
-
expect(game_test.stats.item3).to eq(game.stats.item3)
|
209
|
-
expect(game_test.stats.item4).to eq(game.stats.item4)
|
210
|
-
expect(game_test.stats.item5).to eq(game.stats.item5)
|
211
|
-
expect(game_test.stats.item6).to eq(game.stats.item6)
|
212
|
-
expect(game_test.stats.items_purchased).to eq(game.stats.items_purchased)
|
213
|
-
expect(game_test.stats.killing_sprees).to eq(game.stats.killing_sprees)
|
214
|
-
expect(game_test.stats.largest_critical_strike).to eq(game.stats.largest_critical_strike)
|
215
|
-
expect(game_test.stats.largest_killing_spree).to eq(game.stats.largest_killing_spree)
|
216
|
-
expect(game_test.stats.largest_multi_kill).to eq(game.stats.largest_multi_kill)
|
217
|
-
expect(game_test.stats.legendary_items_created).to eq(game.stats.legendary_items_created)
|
218
|
-
expect(game_test.stats.magic_damage_dealt_player).to eq(game.stats.magic_damage_dealt_player)
|
219
|
-
expect(game_test.stats.magic_damage_dealt_to_champions).to eq(game.stats.magic_damage_dealt_to_champions)
|
220
|
-
expect(game_test.stats.magic_damage_taken).to eq(game.stats.magic_damage_taken)
|
221
|
-
expect(game_test.stats.minions_denied).to eq(game.stats.minions_denied)
|
222
|
-
expect(game_test.stats.minions_killed).to eq(game.stats.minions_killed)
|
223
|
-
expect(game_test.stats.neutral_minions_killed).to eq(game.stats.neutral_minions_killed)
|
224
|
-
expect(game_test.stats.neutral_minions_killed_enemy_jungle).to eq(game.stats.neutral_minions_killed_enemy_jungle)
|
225
|
-
expect(game_test.stats.neutral_minions_killed_your_jungle).to eq(game.stats.neutral_minions_killed_your_jungle)
|
226
|
-
expect(game_test.stats.nexus_killed).to eq(game.stats.nexus_killed)
|
227
|
-
expect(game_test.stats.node_capture).to eq(game.stats.node_capture)
|
228
|
-
expect(game_test.stats.node_capture_assist).to eq(game.stats.node_capture_assist)
|
229
|
-
expect(game_test.stats.node_neutralize).to eq(game.stats.node_neutralize)
|
230
|
-
expect(game_test.stats.node_neutralize_assist).to eq(game.stats.node_neutralize_assist)
|
231
|
-
expect(game_test.stats.num_deaths).to eq(game.stats.num_deaths)
|
232
|
-
expect(game_test.stats.num_items_bought).to eq(game.stats.num_items_bought)
|
233
|
-
expect(game_test.stats.objective_player_score).to eq(game.stats.objective_player_score)
|
234
|
-
expect(game_test.stats.penta_kills).to eq(game.stats.penta_kills)
|
235
|
-
expect(game_test.stats.physical_damage_dealt_player).to eq(game.stats.physical_damage_dealt_player)
|
236
|
-
expect(game_test.stats.physical_damage_dealt_to_champions).to eq(game.stats.physical_damage_dealt_to_champions)
|
237
|
-
expect(game_test.stats.physical_damage_taken).to eq(game.stats.physical_damage_taken)
|
238
|
-
expect(game_test.stats.quadra_kills).to eq(game.stats.quadra_kills)
|
239
|
-
expect(game_test.stats.sight_wards_bought).to eq(game.stats.sight_wards_bought)
|
240
|
-
expect(game_test.stats.spell4_cast).to eq(game.stats.spell4_cast)
|
241
|
-
expect(game_test.stats.spell3_cast).to eq(game.stats.spell3_cast)
|
242
|
-
expect(game_test.stats.spell2_cast).to eq(game.stats.spell2_cast)
|
243
|
-
expect(game_test.stats.spell1_cast).to eq(game.stats.spell1_cast)
|
244
|
-
expect(game_test.stats.summon_spell1_cast).to eq(game.stats.summon_spell1_cast)
|
245
|
-
expect(game_test.stats.summon_spell2_cast).to eq(game.stats.summon_spell2_cast)
|
246
|
-
expect(game_test.stats.super_monster_killed).to eq(game.stats.super_monster_killed)
|
247
|
-
expect(game_test.stats.team).to eq(game.stats.team)
|
248
|
-
expect(game_test.stats.team_objective).to eq(game.stats.team_objective)
|
249
|
-
expect(game_test.stats.time_played).to eq(game.stats.time_played)
|
250
|
-
expect(game_test.stats.total_damage_dealt).to eq(game.stats.total_damage_dealt)
|
251
|
-
expect(game_test.stats.total_damage_dealt_to_champions).to eq(game.stats.total_damage_dealt_to_champions)
|
252
|
-
expect(game_test.stats.total_damage_taken).to eq(game.stats.total_damage_taken)
|
253
|
-
expect(game_test.stats.total_heal).to eq(game.stats.total_heal)
|
254
|
-
expect(game_test.stats.total_player_score).to eq(game.stats.total_player_score)
|
255
|
-
expect(game_test.stats.total_score_rank).to eq(game.stats.total_score_rank)
|
256
|
-
expect(game_test.stats.total_time_crowd_control_dealt).to eq(game.stats.total_time_crowd_control_dealt)
|
257
|
-
expect(game_test.stats.total_units_healed).to eq(game.stats.total_units_healed)
|
258
|
-
expect(game_test.stats.triple_kills).to eq(game.stats.triple_kills)
|
259
|
-
expect(game_test.stats.true_damage_dealt_player).to eq(game.stats.true_damage_dealt_player)
|
260
|
-
expect(game_test.stats.true_damage_dealt_to_champions).to eq(game.stats.true_damage_dealt_to_champions)
|
261
|
-
expect(game_test.stats.true_damage_taken).to eq(game.stats.true_damage_taken)
|
262
|
-
expect(game_test.stats.turrets_killed).to eq(game.stats.turrets_killed)
|
263
|
-
expect(game_test.stats.unreal_kills).to eq(game.stats.unreal_kills)
|
264
|
-
expect(game_test.stats.victory_point_total).to eq(game.stats.victory_point_total)
|
265
|
-
expect(game_test.stats.vision_wards_bought).to eq(game.stats.vision_wards_bought)
|
266
|
-
expect(game_test.stats.ward_killed).to eq(game.stats.ward_killed)
|
267
|
-
expect(game_test.stats.ward_placed).to eq(game.stats.ward_placed)
|
268
|
-
expect(game_test.stats.win).to eq(game.stats.win)
|
269
|
-
end
|
270
|
-
end
|
271
|
-
|
272
|
-
end
|
273
|
-
|
274
|
-
describe "get_champion_by_id" do
|
275
|
-
|
276
|
-
before(:each) do
|
277
|
-
# Create client
|
278
|
-
client = FactoryGirl.build(:client)
|
279
|
-
id_champion = 412
|
280
|
-
|
281
|
-
api_response = File.read 'spec/mock_response/get_champion_by_id.json'
|
282
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/champion/#{id_champion}?locale=fr_FR&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
283
|
-
|
284
|
-
@champion_test = client.get_champion_by_id(id_champion)
|
285
|
-
end
|
286
|
-
|
287
|
-
it "should get summoner object" do
|
288
|
-
expect(@champion_test).to be_a RiotLolApi::Model::Champion
|
289
|
-
end
|
290
|
-
|
291
|
-
it "should have good attributes" do
|
292
|
-
champion = FactoryGirl.build(:champion)
|
293
|
-
|
294
|
-
expect(@champion_test.id).to eq(champion.id)
|
295
|
-
expect(@champion_test.key).to eq(champion.key)
|
296
|
-
expect(@champion_test.name).to eq(champion.name)
|
297
|
-
expect(@champion_test.title).to eq(champion.title)
|
298
|
-
end
|
299
|
-
end
|
300
|
-
|
301
|
-
describe "get_champion_by_id_all_data" do
|
302
|
-
|
303
|
-
before(:each) do
|
304
|
-
# Create client
|
305
|
-
client = FactoryGirl.build(:client)
|
306
|
-
id_champion = 412
|
307
|
-
|
308
|
-
api_response = File.read 'spec/mock_response/get_champion_by_id_all_data.json'
|
309
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/champion/#{id_champion}?locale=fr_FR&champData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
310
|
-
|
311
|
-
@champion_test = client.get_champion_by_id(id_champion,{:champData => 'all'})
|
312
|
-
end
|
313
|
-
|
314
|
-
it "should get summoner object" do
|
315
|
-
expect(@champion_test).to be_a RiotLolApi::Model::Champion
|
316
|
-
end
|
317
|
-
|
318
|
-
it "should have good attributes" do
|
319
|
-
champion = FactoryGirl.build(:champion)
|
320
|
-
|
321
|
-
expect(@champion_test.id).to eq(champion.id)
|
322
|
-
expect(@champion_test.key).to eq(champion.key)
|
323
|
-
expect(@champion_test.name).to eq(champion.name)
|
324
|
-
expect(@champion_test.title).to eq(champion.title)
|
325
|
-
end
|
326
|
-
|
327
|
-
# Image Champion
|
328
|
-
|
329
|
-
it "should a valid full url image champion" do
|
330
|
-
expect(@champion_test.image.full_url).to eq("http://ddragon.leagueoflegends.com/cdn/4.8.3/img/champion/Thresh.png")
|
331
|
-
end
|
332
|
-
|
333
|
-
it "should a valid sprite url image champion" do
|
334
|
-
expect(@champion_test.image.sprite_url).to eq("http://ddragon.leagueoflegends.com/cdn/4.8.3/img/sprite/champion3.png")
|
335
|
-
end
|
336
|
-
|
337
|
-
it "should a valid full url image passive" do
|
338
|
-
expect(@champion_test.passive.image.full_url).to eq("http://ddragon.leagueoflegends.com/cdn/4.8.3/img/passive/Thresh_Passive.png")
|
339
|
-
end
|
340
|
-
end
|
341
|
-
|
342
|
-
describe "get_all_champions_by_ids" do
|
343
|
-
|
344
|
-
before(:each) do
|
345
|
-
# Create client
|
346
|
-
client = FactoryGirl.build(:client)
|
347
|
-
|
348
|
-
api_response = File.read 'spec/mock_response/get_all_champions_by_ids.json'
|
349
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/champion?locale=fr_FR&dataById=true&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
350
|
-
|
351
|
-
@all_champion_test = client.get_all_champions(nil,true)
|
352
|
-
end
|
353
|
-
|
354
|
-
it "should have good attributes" do
|
355
|
-
@all_champion_test.each do |champion|
|
356
|
-
expect(champion).to be_a RiotLolApi::Model::Champion
|
357
|
-
end
|
358
|
-
end
|
359
|
-
end
|
360
|
-
|
361
|
-
describe "get_all_champions_by_ids_all_data" do
|
362
|
-
|
363
|
-
before(:each) do
|
364
|
-
# Create client
|
365
|
-
client = FactoryGirl.build(:client)
|
9
|
+
realm_response = File.read 'spec/mock_response/get_realm.json'
|
10
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/realm?api_key=#{RiotLolApi::TOKEN}").to_return(realm_response)
|
366
11
|
|
367
|
-
|
368
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/champion?locale=fr_FR&dataById=false&champData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
12
|
+
end
|
369
13
|
|
370
|
-
|
371
|
-
|
14
|
+
describe "can use string and hash ovewriting method" do
|
15
|
+
|
16
|
+
it "transform string CamelCase in to symbol" do
|
17
|
+
test = "lolApiTest"
|
18
|
+
expect(test.to_symbol).to eq :lol_api_test
|
19
|
+
end
|
20
|
+
|
21
|
+
it "transform hash keys CamelCase in to symbol" do
|
22
|
+
hash_test = {"lolApiTest" => "lol", "testLol" => "truc"}
|
23
|
+
expect(hash_test.to_symbol).to eq({:lol_api_test => "lol", :test_lol => "truc"})
|
24
|
+
end
|
25
|
+
|
26
|
+
it "Add instance of class to_symbol" do
|
27
|
+
hash_result = {"lolApiTest" => "lol", "testLol" => "truc", "masteries" => [{"id" => 4212,"rank" => 2},{"id" => 4233,"rank" => 3}], "stats" => {"truc" => 0, "machin" => 2}}.to_symbol
|
28
|
+
# Test Array
|
29
|
+
expect(hash_result[:masteries][0]).to be_a RiotLolApi::Model::Mastery
|
30
|
+
# Test Hash
|
31
|
+
expect(hash_result[:stats]).to be_a RiotLolApi::Model::Stat
|
32
|
+
end
|
372
33
|
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
api_response = File.read 'spec/mock_response/get_mastery_by_id.json'
|
483
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/mastery/4353?locale=fr_FR&masteryData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
484
|
-
|
485
|
-
@mastery_test = client.get_mastery_by_id(4353,{:masteryData => 'all'})
|
486
|
-
end
|
487
|
-
|
488
|
-
it "should have good attributes" do
|
489
|
-
expect(@mastery_test).to be_a RiotLolApi::Model::Mastery
|
490
|
-
expect(@mastery_test.image).to be_a RiotLolApi::Model::Image
|
491
|
-
end
|
492
|
-
end
|
493
|
-
|
494
|
-
describe "get_all_runes" do
|
495
|
-
before(:each) do
|
496
|
-
# Create client
|
497
|
-
client = FactoryGirl.build(:client)
|
498
|
-
|
499
|
-
api_response = File.read 'spec/mock_response/get_all_runes.json'
|
500
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/rune?locale=fr_FR&runeListData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
501
|
-
|
502
|
-
@all_rune_test = client.get_all_runes({:runeListData => 'all'})
|
503
|
-
end
|
504
|
-
|
505
|
-
it "should have good attributes" do
|
506
|
-
@all_rune_test.each do |rune|
|
507
|
-
expect(rune).to be_a RiotLolApi::Model::Rune
|
508
|
-
expect(rune.image).to be_a RiotLolApi::Model::Image
|
509
|
-
end
|
510
|
-
end
|
511
|
-
end
|
512
|
-
|
513
|
-
describe "get_rune_by_id" do
|
514
|
-
before(:each) do
|
515
|
-
# Create client
|
516
|
-
client = FactoryGirl.build(:client)
|
517
|
-
|
518
|
-
api_response = File.read 'spec/mock_response/get_rune_by_id.json'
|
519
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/rune/5235?locale=fr_FR&runeData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
520
|
-
|
521
|
-
@rune_test = client.get_rune_by_id(5235,{:runeData => 'all'})
|
522
|
-
end
|
523
|
-
|
524
|
-
it "should have good attributes" do
|
525
|
-
expect(@rune_test).to be_a RiotLolApi::Model::Rune
|
526
|
-
expect(@rune_test.image).to be_a RiotLolApi::Model::Image
|
527
|
-
end
|
528
|
-
end
|
529
|
-
|
530
|
-
describe "get_all_summoner_spells" do
|
531
|
-
|
532
|
-
before(:each) do
|
533
|
-
# Create client
|
534
|
-
client = FactoryGirl.build(:client)
|
535
|
-
|
536
|
-
api_response = File.read 'spec/mock_response/get_all_summoner_spells.json'
|
537
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/summoner-spell?locale=fr_FR&dataById=false&spellData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
538
|
-
|
539
|
-
@all_summoner_spells = client.get_all_summoner_spells({:spellData => 'all'})
|
540
|
-
end
|
541
|
-
|
542
|
-
it "should have good attributes" do
|
543
|
-
@all_summoner_spells.each do |summoner_spell|
|
544
|
-
expect(summoner_spell).to be_a RiotLolApi::Model::Spell
|
545
|
-
expect(summoner_spell.image).to be_a RiotLolApi::Model::Image
|
546
|
-
end
|
547
|
-
end
|
548
|
-
end
|
549
|
-
|
550
|
-
describe "get_all_summoner_spells_by_ids" do
|
551
|
-
|
552
|
-
before(:each) do
|
553
|
-
# Create client
|
554
|
-
client = FactoryGirl.build(:client)
|
555
|
-
|
556
|
-
api_response = File.read 'spec/mock_response/get_all_summoner_spells_by_ids.json'
|
557
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/summoner-spell?locale=fr_FR&dataById=true&spellData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
558
|
-
|
559
|
-
@all_summoner_spells = client.get_all_summoner_spells({:spellData => 'all'},true)
|
560
|
-
end
|
561
|
-
|
562
|
-
it "should have good attributes" do
|
563
|
-
@all_summoner_spells.each do |summoner_spell|
|
564
|
-
expect(summoner_spell).to be_a RiotLolApi::Model::Spell
|
565
|
-
expect(summoner_spell.image).to be_a RiotLolApi::Model::Image
|
566
|
-
end
|
567
|
-
end
|
568
|
-
end
|
569
|
-
|
570
|
-
describe "get_summoner_spell_by_id" do
|
571
|
-
before(:each) do
|
572
|
-
# Create client
|
573
|
-
client = FactoryGirl.build(:client)
|
574
|
-
|
575
|
-
api_response = File.read 'spec/mock_response/get_summoner_spell_by_id.json'
|
576
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/summoner-spell/17?locale=fr_FR&spellData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
577
|
-
|
578
|
-
@summoner_spell_test = client.get_summoner_spell_by_id(17,{:spellData => 'all'})
|
579
|
-
end
|
580
|
-
|
581
|
-
it "should have good attributes" do
|
582
|
-
expect(@summoner_spell_test).to be_a RiotLolApi::Model::Spell
|
583
|
-
expect(@summoner_spell_test.image).to be_a RiotLolApi::Model::Image
|
584
|
-
end
|
585
|
-
end
|
586
|
-
|
587
|
-
describe "get_versions" do
|
588
|
-
before(:each) do
|
589
|
-
# Create client
|
590
|
-
client = FactoryGirl.build(:client)
|
591
|
-
|
592
|
-
api_response = File.read 'spec/mock_response/get_version.json'
|
593
|
-
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/versions?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
594
|
-
|
595
|
-
@version_test = client.get_versions
|
596
|
-
end
|
597
|
-
|
598
|
-
it "should have good attributes" do
|
599
|
-
expect(@version_test).to be_a Array
|
600
|
-
end
|
601
|
-
end
|
602
|
-
|
603
|
-
describe "get_league_stats" do
|
604
|
-
before(:each) do
|
605
|
-
# Create client
|
606
|
-
summoner = FactoryGirl.build(:summoner)
|
607
|
-
|
608
|
-
api_response = File.read 'spec/mock_response/get_player_league.json'
|
609
|
-
stub_request(:get, "https://euw.api.pvp.net/api/lol/euw/v2.4/league/by-summoner/20639710/entry?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
34
|
+
end
|
35
|
+
|
36
|
+
describe "set realm when create client" do
|
37
|
+
it "define RiotLolApi::REALM" do
|
38
|
+
client = FactoryGirl.build(:client)
|
39
|
+
expect(RiotLolApi::Client.realm).to include("css","dd","l","n","profileiconmax","v","lg","cdn")
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
describe "get_summoner_by_name" do
|
44
|
+
|
45
|
+
before(:each) do
|
46
|
+
# Create client
|
47
|
+
client = FactoryGirl.build(:client)
|
48
|
+
name = "pacoloco"
|
49
|
+
|
50
|
+
api_response = File.read 'spec/mock_response/get_summoner_by_name.json'
|
51
|
+
stub_request(:get, "https://#{client.region}.api.pvp.net/api/lol/euw/v1.4/summoner/by-name/#{name}?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
52
|
+
|
53
|
+
@summoner_test = client.get_summoner_by_name(name)
|
54
|
+
end
|
55
|
+
|
56
|
+
it "should get summoner object" do
|
57
|
+
expect(@summoner_test).to be_a RiotLolApi::Model::Summoner
|
58
|
+
end
|
59
|
+
|
60
|
+
it "should have good attributes" do
|
61
|
+
expect(@summoner_test.id).to be_a Integer
|
62
|
+
expect(@summoner_test.name).to be_a String
|
63
|
+
expect(@summoner_test.profile_icon_id).to be_a Integer
|
64
|
+
expect(@summoner_test.summoner_level).to be_a Integer
|
65
|
+
expect(@summoner_test.revision_date).to be_a Integer
|
66
|
+
expect(@summoner_test.region).to be_a String
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe "get_summoner_by_id" do
|
71
|
+
|
72
|
+
before(:each) do
|
73
|
+
# Create client
|
74
|
+
client = FactoryGirl.build(:client)
|
75
|
+
id = 20639710
|
76
|
+
|
77
|
+
api_response = File.read 'spec/mock_response/get_summoner_by_id.json'
|
78
|
+
stub_request(:get, "https://#{client.region}.api.pvp.net/api/lol/euw/v1.4/summoner/#{id}?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
79
|
+
|
80
|
+
@summoner_test = client.get_summoner_by_id(id)
|
81
|
+
end
|
82
|
+
|
83
|
+
it "should get summoner object" do
|
84
|
+
expect(@summoner_test).to be_a RiotLolApi::Model::Summoner
|
85
|
+
end
|
86
|
+
|
87
|
+
it "should have good attributes" do
|
88
|
+
summoner = FactoryGirl.build(:summoner)
|
89
|
+
|
90
|
+
expect(@summoner_test.id).to be_a Integer
|
91
|
+
expect(@summoner_test.name).to be_a String
|
92
|
+
expect(@summoner_test.profile_icon_id).to be_a Integer
|
93
|
+
expect(@summoner_test.summoner_level).to be_a Integer
|
94
|
+
expect(@summoner_test.revision_date).to be_a Integer
|
95
|
+
expect(@summoner_test.region).to be_a String
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
describe "get summoner masteries pages" do
|
100
|
+
|
101
|
+
before(:each) do
|
102
|
+
# Create summoner
|
103
|
+
summoner = FactoryGirl.build(:summoner)
|
104
|
+
|
105
|
+
api_response = File.read 'spec/mock_response/get_summoner_masteries_by_id.json'
|
106
|
+
stub_request(:get, "https://#{summoner.region}.api.pvp.net/api/lol/euw/v1.4/summoner/#{summoner.id}/masteries?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
107
|
+
|
108
|
+
@page_test = summoner.masteries
|
109
|
+
end
|
110
|
+
|
111
|
+
it "should have good attributes" do
|
112
|
+
@page_test.each do |page|
|
113
|
+
expect(page).to be_a RiotLolApi::Model::Page
|
114
|
+
page.masteries.each do |mastery|
|
115
|
+
expect(mastery).to be_a RiotLolApi::Model::Mastery
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
describe "get summoner runes" do
|
122
|
+
|
123
|
+
before(:each) do
|
124
|
+
# Create summoner
|
125
|
+
summoner = FactoryGirl.build(:summoner)
|
126
|
+
|
127
|
+
api_response = File.read 'spec/mock_response/get_summoner_runes_by_id.json'
|
128
|
+
stub_request(:get, "https://#{summoner.region}.api.pvp.net/api/lol/euw/v1.4/summoner/#{summoner.id}/runes?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
129
|
+
|
130
|
+
@rune_test = summoner.runes
|
131
|
+
end
|
132
|
+
|
133
|
+
it "should have good attributes" do
|
134
|
+
@rune_test.each do |rune|
|
135
|
+
expect(rune).to be_a RiotLolApi::Model::Page
|
136
|
+
rune.slots[0..1].each do |slot|
|
137
|
+
expect(slot).to be_a RiotLolApi::Model::Slot
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
610
142
|
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
143
|
+
describe "get summoner games" do
|
144
|
+
|
145
|
+
before(:each) do
|
146
|
+
# Create summoner
|
147
|
+
summoner = FactoryGirl.build(:summoner)
|
148
|
+
|
149
|
+
api_response = File.read 'spec/mock_response/get_summoner_games_by_id.json'
|
150
|
+
stub_request(:get, "https://#{summoner.region}.api.pvp.net/api/lol/euw/v1.3/game/by-summoner/#{summoner.id}/recent?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
151
|
+
|
152
|
+
@game_tests = summoner.games
|
153
|
+
end
|
154
|
+
|
155
|
+
it "should have good attributes" do
|
156
|
+
game = FactoryGirl.build(:game)
|
157
|
+
|
158
|
+
game_test = @game_tests.first
|
159
|
+
expect(game_test.game_id).to be_a Integer
|
160
|
+
# expect(game_test.invalid).to eq()
|
161
|
+
expect(game_test.game_mode).to be_a String
|
162
|
+
expect(game_test.game_type).to be_a String
|
163
|
+
expect(game_test.sub_type).to be_a String
|
164
|
+
expect(game_test.map_id).to be_a Integer
|
165
|
+
expect(game_test.team_id).to be_a Integer
|
166
|
+
expect(game_test.champion_id).to be_a Integer
|
167
|
+
expect(game_test.spell1).to be_a Integer
|
168
|
+
expect(game_test.spell2).to be_a Integer
|
169
|
+
expect(game_test.level).to be_a Integer
|
170
|
+
expect(game_test.ip_earned).to be_a Integer
|
171
|
+
expect(game_test.create_date).to be_a Integer
|
619
172
|
|
620
|
-
|
173
|
+
expect(game_test.fellow_players.first).to be_a RiotLolApi::Model::FellowPlayer
|
174
|
+
|
175
|
+
expect(game_test.stats).to be_a RiotLolApi::Model::Stat
|
176
|
+
end
|
177
|
+
|
178
|
+
end
|
179
|
+
|
180
|
+
describe "get_champion_by_id" do
|
181
|
+
|
182
|
+
before(:each) do
|
183
|
+
# Create client
|
184
|
+
client = FactoryGirl.build(:client)
|
185
|
+
id_champion = 412
|
186
|
+
|
187
|
+
api_response = File.read 'spec/mock_response/get_champion_by_id.json'
|
188
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/champion/#{id_champion}?locale=fr_FR&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
189
|
+
|
190
|
+
@champion_test = client.get_champion_by_id(id_champion)
|
191
|
+
end
|
192
|
+
|
193
|
+
it "should get summoner object" do
|
194
|
+
expect(@champion_test).to be_a RiotLolApi::Model::Champion
|
195
|
+
end
|
196
|
+
|
197
|
+
it "should have good attributes" do
|
198
|
+
champion = FactoryGirl.build(:champion)
|
199
|
+
|
200
|
+
expect(@champion_test.id).to eq(champion.id)
|
201
|
+
expect(@champion_test.key).to eq(champion.key)
|
202
|
+
expect(@champion_test.name).to eq(champion.name)
|
203
|
+
expect(@champion_test.title).to eq(champion.title)
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
207
|
+
describe "get_champion_by_id_all_data" do
|
208
|
+
|
209
|
+
before(:each) do
|
210
|
+
# Create client
|
211
|
+
client = FactoryGirl.build(:client)
|
212
|
+
id_champion = 412
|
213
|
+
|
214
|
+
api_response = File.read 'spec/mock_response/get_champion_by_id_all_data.json'
|
215
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/champion/#{id_champion}?locale=fr_FR&champData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
216
|
+
|
217
|
+
@champion_test = client.get_champion_by_id(id_champion,{:champData => 'all'})
|
218
|
+
end
|
219
|
+
|
220
|
+
it "should get summoner object" do
|
221
|
+
expect(@champion_test).to be_a RiotLolApi::Model::Champion
|
222
|
+
end
|
223
|
+
|
224
|
+
it "should have good attributes" do
|
225
|
+
champion = FactoryGirl.build(:champion)
|
226
|
+
|
227
|
+
expect(@champion_test.id).to eq(champion.id)
|
228
|
+
expect(@champion_test.key).to eq(champion.key)
|
229
|
+
expect(@champion_test.name).to eq(champion.name)
|
230
|
+
expect(@champion_test.title).to eq(champion.title)
|
231
|
+
end
|
232
|
+
|
233
|
+
# Image Champion
|
234
|
+
|
235
|
+
it "should a valid full url image champion" do
|
236
|
+
expect(@champion_test.image.full_url).to eq("http://ddragon.leagueoflegends.com/cdn/#{RiotLolApi::Client.realm['v']}/img/champion/Thresh.png")
|
237
|
+
end
|
238
|
+
|
239
|
+
it "should a valid sprite url image champion" do
|
240
|
+
expect(@champion_test.image.sprite_url).to eq("http://ddragon.leagueoflegends.com/cdn/#{RiotLolApi::Client.realm['v']}/img/sprite/champion3.png")
|
241
|
+
end
|
242
|
+
|
243
|
+
it "should a valid full url image passive" do
|
244
|
+
expect(@champion_test.passive.image.full_url).to eq("http://ddragon.leagueoflegends.com/cdn/#{RiotLolApi::Client.realm['v']}/img/passive/Thresh_Passive.png")
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
describe "get_all_champions_by_ids" do
|
249
|
+
|
250
|
+
before(:each) do
|
251
|
+
# Create client
|
252
|
+
client = FactoryGirl.build(:client)
|
253
|
+
|
254
|
+
api_response = File.read 'spec/mock_response/get_all_champions_by_ids.json'
|
255
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/champion?locale=fr_FR&dataById=true&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
256
|
+
|
257
|
+
@all_champion_test = client.get_all_champions(nil,true)
|
258
|
+
end
|
259
|
+
|
260
|
+
it "should have good attributes" do
|
261
|
+
@all_champion_test.each do |champion|
|
262
|
+
expect(champion).to be_a RiotLolApi::Model::Champion
|
263
|
+
end
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
describe "get_all_champions_by_ids_all_data" do
|
268
|
+
|
269
|
+
before(:each) do
|
270
|
+
# Create client
|
271
|
+
client = FactoryGirl.build(:client)
|
272
|
+
|
273
|
+
api_response = File.read 'spec/mock_response/get_all_champions_by_ids_all_data.json'
|
274
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/champion?locale=fr_FR&dataById=false&champData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
275
|
+
|
276
|
+
@all_champion_test = client.get_all_champions({:champData => 'all'})
|
277
|
+
end
|
278
|
+
|
279
|
+
it "should have good attributes" do
|
280
|
+
@all_champion_test.each do |champion|
|
281
|
+
expect(champion).to be_a RiotLolApi::Model::Champion
|
282
|
+
expect(champion.stats).to be_a RiotLolApi::Model::Stat
|
283
|
+
end
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
describe "get_stat_summaries" do
|
288
|
+
|
289
|
+
before(:each) do
|
290
|
+
# Create client
|
291
|
+
summoner = FactoryGirl.build(:summoner)
|
292
|
+
|
293
|
+
api_response = File.read 'spec/mock_response/get_player_stat_summaries.json'
|
294
|
+
stub_request(:get, "https://#{summoner.region}.api.pvp.net/api/lol/euw/v1.3/stats/by-summoner/20639710/summary?season=SEASON5&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
295
|
+
|
296
|
+
@stat_summaries_test = summoner.stat_summaries("SEASON5")
|
297
|
+
end
|
298
|
+
|
299
|
+
it "should have good attributes" do
|
300
|
+
@stat_summaries_test.each do |stat_summary|
|
301
|
+
expect(stat_summary).to be_a RiotLolApi::Model::PlayerStatSummary
|
302
|
+
expect(stat_summary.aggregated_stats).to be_a RiotLolApi::Model::AggregatedStat
|
303
|
+
end
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
describe "get_stat_ranks" do
|
308
|
+
|
309
|
+
before(:each) do
|
310
|
+
# Create client
|
311
|
+
summoner = FactoryGirl.build(:summoner)
|
312
|
+
|
313
|
+
api_response = File.read 'spec/mock_response/get_player_stat_ranked.json'
|
314
|
+
stub_request(:get, "https://#{summoner.region}.api.pvp.net/api/lol/euw/v1.3/stats/by-summoner/20639710/ranked?season=SEASON5&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
315
|
+
|
316
|
+
@stat_ranks_test = summoner.stat_ranks("SEASON5")
|
317
|
+
end
|
318
|
+
|
319
|
+
it "should have good attributes" do
|
320
|
+
@stat_ranks_test.each do |stat_rank|
|
321
|
+
expect(stat_rank).to be_a RiotLolApi::Model::PlayerStatRank
|
322
|
+
expect(stat_rank.stats).to be_a RiotLolApi::Model::Stat
|
323
|
+
end
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
describe "get_all_items" do
|
328
|
+
before(:each) do
|
329
|
+
# Create client
|
330
|
+
client = FactoryGirl.build(:client)
|
331
|
+
|
332
|
+
api_response = File.read 'spec/mock_response/get_all_item.json'
|
333
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/item?locale=fr_FR&itemListData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
334
|
+
|
335
|
+
@all_item_test = client.get_all_items({:itemListData => 'all'})
|
336
|
+
end
|
337
|
+
|
338
|
+
it "should have good attributes" do
|
339
|
+
@all_item_test.each do |item|
|
340
|
+
expect(item).to be_a RiotLolApi::Model::Item
|
341
|
+
expect(item.image).to be_a RiotLolApi::Model::Image
|
342
|
+
end
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
describe "get_item_by_id" do
|
347
|
+
before(:each) do
|
348
|
+
# Create client
|
349
|
+
client = FactoryGirl.build(:client)
|
350
|
+
|
351
|
+
api_response = File.read 'spec/mock_response/get_item_by_id.json'
|
352
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/item/2009?locale=fr_FR&itemListData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
353
|
+
|
354
|
+
@item_test = client.get_item_by_id(2009,{:itemListData => 'all'})
|
355
|
+
end
|
356
|
+
|
357
|
+
it "should have good attributes" do
|
358
|
+
expect(@item_test).to be_a RiotLolApi::Model::Item
|
359
|
+
expect(@item_test.image).to be_a RiotLolApi::Model::Image
|
360
|
+
expect(@item_test.gold).to be_a RiotLolApi::Model::Gold
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
describe "get_all_masteries" do
|
365
|
+
before(:each) do
|
366
|
+
# Create client
|
367
|
+
client = FactoryGirl.build(:client)
|
368
|
+
|
369
|
+
api_response = File.read 'spec/mock_response/get_all_masteries.json'
|
370
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/mastery?locale=fr_FR&masteryListData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
371
|
+
|
372
|
+
@all_mastery_test = client.get_all_masteries({:masteryListData => 'all'})
|
373
|
+
end
|
374
|
+
|
375
|
+
it "should have good attributes" do
|
376
|
+
@all_mastery_test.each do |mastery|
|
377
|
+
expect(mastery).to be_a RiotLolApi::Model::Mastery
|
378
|
+
expect(mastery.image).to be_a RiotLolApi::Model::Image
|
379
|
+
end
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
describe "get_mastery_by_id" do
|
384
|
+
before(:each) do
|
385
|
+
# Create client
|
386
|
+
client = FactoryGirl.build(:client)
|
387
|
+
|
388
|
+
api_response = File.read 'spec/mock_response/get_mastery_by_id.json'
|
389
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/mastery/4353?locale=fr_FR&masteryData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
390
|
+
|
391
|
+
@mastery_test = client.get_mastery_by_id(4353,{:masteryData => 'all'})
|
392
|
+
end
|
393
|
+
|
394
|
+
it "should have good attributes" do
|
395
|
+
expect(@mastery_test).to be_a RiotLolApi::Model::Mastery
|
396
|
+
expect(@mastery_test.image).to be_a RiotLolApi::Model::Image
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
describe "get_all_runes" do
|
401
|
+
before(:each) do
|
402
|
+
# Create client
|
403
|
+
client = FactoryGirl.build(:client)
|
404
|
+
|
405
|
+
api_response = File.read 'spec/mock_response/get_all_runes.json'
|
406
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/rune?locale=fr_FR&runeListData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
407
|
+
|
408
|
+
@all_rune_test = client.get_all_runes({:runeListData => 'all'})
|
409
|
+
end
|
410
|
+
|
411
|
+
it "should have good attributes" do
|
412
|
+
@all_rune_test.each do |rune|
|
413
|
+
expect(rune).to be_a RiotLolApi::Model::Rune
|
414
|
+
expect(rune.image).to be_a RiotLolApi::Model::Image
|
415
|
+
end
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
describe "get_rune_by_id" do
|
420
|
+
before(:each) do
|
421
|
+
# Create client
|
422
|
+
client = FactoryGirl.build(:client)
|
423
|
+
|
424
|
+
api_response = File.read 'spec/mock_response/get_rune_by_id.json'
|
425
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/rune/5235?locale=fr_FR&runeData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
426
|
+
|
427
|
+
@rune_test = client.get_rune_by_id(5235,{:runeData => 'all'})
|
428
|
+
end
|
429
|
+
|
430
|
+
it "should have good attributes" do
|
431
|
+
expect(@rune_test).to be_a RiotLolApi::Model::Rune
|
432
|
+
expect(@rune_test.image).to be_a RiotLolApi::Model::Image
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
describe "get_all_summoner_spells" do
|
437
|
+
|
438
|
+
before(:each) do
|
439
|
+
# Create client
|
440
|
+
client = FactoryGirl.build(:client)
|
441
|
+
|
442
|
+
api_response = File.read 'spec/mock_response/get_all_summoner_spells.json'
|
443
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/summoner-spell?locale=fr_FR&dataById=false&spellData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
444
|
+
|
445
|
+
@all_summoner_spells = client.get_all_summoner_spells({:spellData => 'all'})
|
446
|
+
end
|
447
|
+
|
448
|
+
it "should have good attributes" do
|
449
|
+
@all_summoner_spells.each do |summoner_spell|
|
450
|
+
expect(summoner_spell).to be_a RiotLolApi::Model::Spell
|
451
|
+
expect(summoner_spell.image).to be_a RiotLolApi::Model::Image
|
452
|
+
end
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
describe "get_all_summoner_spells_by_ids" do
|
457
|
+
|
458
|
+
before(:each) do
|
459
|
+
# Create client
|
460
|
+
client = FactoryGirl.build(:client)
|
461
|
+
|
462
|
+
api_response = File.read 'spec/mock_response/get_all_summoner_spells_by_ids.json'
|
463
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/summoner-spell?locale=fr_FR&dataById=true&spellData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
464
|
+
|
465
|
+
@all_summoner_spells = client.get_all_summoner_spells({:spellData => 'all'},true)
|
466
|
+
end
|
467
|
+
|
468
|
+
it "should have good attributes" do
|
469
|
+
@all_summoner_spells.each do |summoner_spell|
|
470
|
+
expect(summoner_spell).to be_a RiotLolApi::Model::Spell
|
471
|
+
expect(summoner_spell.image).to be_a RiotLolApi::Model::Image
|
472
|
+
end
|
473
|
+
end
|
474
|
+
end
|
475
|
+
|
476
|
+
describe "get_summoner_spell_by_id" do
|
477
|
+
before(:each) do
|
478
|
+
# Create client
|
479
|
+
client = FactoryGirl.build(:client)
|
480
|
+
|
481
|
+
api_response = File.read 'spec/mock_response/get_summoner_spell_by_id.json'
|
482
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/summoner-spell/17?locale=fr_FR&spellData=all&api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
483
|
+
|
484
|
+
@summoner_spell_test = client.get_summoner_spell_by_id(17,{:spellData => 'all'})
|
485
|
+
end
|
486
|
+
|
487
|
+
it "should have good attributes" do
|
488
|
+
expect(@summoner_spell_test).to be_a RiotLolApi::Model::Spell
|
489
|
+
expect(@summoner_spell_test.image).to be_a RiotLolApi::Model::Image
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
describe "get_versions" do
|
494
|
+
before(:each) do
|
495
|
+
# Create client
|
496
|
+
client = FactoryGirl.build(:client)
|
497
|
+
|
498
|
+
api_response = File.read 'spec/mock_response/get_version.json'
|
499
|
+
stub_request(:get, "https://global.api.pvp.net/api/lol/static-data/euw/v1.2/versions?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
500
|
+
|
501
|
+
@version_test = client.get_versions
|
502
|
+
end
|
503
|
+
|
504
|
+
it "should have good attributes" do
|
505
|
+
expect(@version_test).to be_a Array
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
509
|
+
describe "get_league_stats" do
|
510
|
+
before(:each) do
|
511
|
+
# Create client
|
512
|
+
summoner = FactoryGirl.build(:summoner)
|
513
|
+
|
514
|
+
api_response = File.read 'spec/mock_response/get_player_league.json'
|
515
|
+
stub_request(:get, "https://euw.api.pvp.net/api/lol/euw/v2.5/league/by-summoner/20639710/entry?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
516
|
+
|
517
|
+
@get_league = summoner.get_league_stats
|
518
|
+
end
|
519
|
+
|
520
|
+
it "should have good attributes" do
|
521
|
+
expect(@get_league).to be_a Array
|
522
|
+
expect(@get_league.first.entries.first).to be_a RiotLolApi::Model::Entry
|
523
|
+
if @get_league.first.entries.first.respond_to?(:mini_series)
|
524
|
+
expect(@get_league.first.entries.first.mini_series).to be_a RiotLolApi::Model::MiniSeries
|
525
|
+
end
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
529
|
+
describe "get_match_history" do
|
530
|
+
before(:each) do
|
531
|
+
# Create client
|
532
|
+
summoner = FactoryGirl.build(:summoner)
|
533
|
+
|
534
|
+
api_response = File.read 'spec/mock_response/get_match_history.json'
|
535
|
+
stub_request(:get, "https://#{summoner.region}.api.pvp.net/api/lol/#{summoner.region}/v2.2/matchhistory/#{summoner.id}?api_key=#{RiotLolApi::TOKEN}").to_return(api_response)
|
536
|
+
|
537
|
+
@get_match_history = summoner.get_match_history
|
538
|
+
end
|
539
|
+
|
540
|
+
it "should have good attributes" do
|
541
|
+
expect(@get_match_history).to be_a Array
|
542
|
+
expect(@get_match_history.first.participants.first).to be_a RiotLolApi::Model::Participant
|
543
|
+
expect(@get_match_history.first.participants.first.stats).to be_a RiotLolApi::Model::Stat
|
544
|
+
expect(@get_match_history.first.participants.first.timeline).to be_a RiotLolApi::Model::Timeline
|
545
|
+
expect(@get_match_history.first.participants.first.timeline.xp_diff_per_min_deltas).to be_a RiotLolApi::Model::XpDiffPerMinDelta
|
546
|
+
expect(@get_match_history.first.participants.first.timeline.damage_taken_diff_per_min_deltas).to be_a RiotLolApi::Model::DamageTakenDiffPerMinDelta
|
547
|
+
expect(@get_match_history.first.participants.first.timeline.xp_per_min_deltas).to be_a RiotLolApi::Model::XpPerMinDelta
|
548
|
+
expect(@get_match_history.first.participants.first.timeline.gold_per_min_deltas).to be_a RiotLolApi::Model::GoldPerMinDelta
|
549
|
+
expect(@get_match_history.first.participants.first.timeline.creeps_per_min_deltas).to be_a RiotLolApi::Model::CreepsPerMinDelta
|
550
|
+
expect(@get_match_history.first.participants.first.timeline.cs_diff_per_min_deltas).to be_a RiotLolApi::Model::CsDiffPerMinDelta
|
551
|
+
expect(@get_match_history.first.participants.first.timeline.damage_taken_per_min_deltas).to be_a RiotLolApi::Model::DamageTakenPerMinDelta
|
552
|
+
expect(@get_match_history.first.participants.first.timeline.damage_taken_per_min_deltas).to be_a RiotLolApi::Model::DamageTakenPerMinDelta
|
553
|
+
expect(@get_match_history.first.participant_identities.first).to be_a RiotLolApi::Model::ParticipantIdentity
|
554
|
+
expect(@get_match_history.first.participant_identities.first.player).to be_a RiotLolApi::Model::Player
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
describe "list_methods" do
|
559
|
+
before(:each) do
|
560
|
+
# Create client
|
561
|
+
client = FactoryGirl.build(:client)
|
562
|
+
@list_methods = client.list_methods
|
563
|
+
end
|
564
|
+
|
565
|
+
it "should have good attributes" do
|
566
|
+
expect(@list_methods).to be_a Array
|
567
|
+
end
|
568
|
+
|
569
|
+
end
|
570
|
+
|
571
|
+
end
|