Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Adam Koewler xadamxk

:octocat:
View GitHub Profile
@xadamxk
xadamxk / League In-Game API.json
Created Feb 9, 2020
All available in-game API endpoints as of Feb 1, 2020
View League In-Game API.json
{
"basePath": "/",
"consumes": [
"application/json",
"application/vnd.api+json",
"application/x-yaml",
"application/x-msgpack",
"application/octet-stream",
"application/x-www-form-urlencoded",
"multipart/form-data"
@xadamxk
xadamxk / data.json
Created Jan 6, 2020
League API for active game (1/5/2020)
View data.json
{
"activePlayer": {
"abilities": {
"E": {
"abilityLevel": 1,
"displayName": "Supercharge",
"id": "KaisaE",
"rawDescription": "GeneratedTip_Spell_KaisaE_Description",
"rawDisplayName": "GeneratedTip_Spell_KaisaE_DisplayName"
},
@xadamxk
xadamxk / response.json
Last active Dec 29, 2019
LCU API for End of Game Stats
View response.json
{
"accountId": 214236746,
"basePoints": 0,
"battleBoostIpEarned": 0,
"boostIpEarned": 0,
"boostXpEarned": 0,
"causedEarlySurrender": false,
"championId": 111,
"coOpVsAiMinutesLeftToday": 180,
"coOpVsAiMsecsUntilReset": 0,
@xadamxk
xadamxk / LCU API for Champion Select
Last active Dec 23, 2019
GET /lol-champ-select/v1/session
View LCU API for Champion Select
{
"actions": [
[
{
"actorCellId": 0,
"championId": 103,
"completed": true,
"id": 1,
"pickTurn": 1,
"type": "ban"
@xadamxk
xadamxk / AsyncRequest.js
Created Nov 21, 2019
Async Promise Snippet
View AsyncRequest.js
Promise.all(elementJson.map(async (test) => {
return getTestElementValue(testId, test.id);
})).then(array => {
groupArrayByProperty(elementJson.map(function (x, i) {
x.element = array[i];
return x;
}), 'path', 0, testId, stateKey, self, testInfo)
});
@xadamxk
xadamxk / neoload_generalsettings_collaboration_server.md
Last active Jul 23, 2019
Using git/ssh in Neoload via BitBucket
View neoload_generalsettings_collaboration_server.md

Server Configuration

Protocol: git/ssh

Host: {git-service-address}.com [ex. bitbucket.com]

Port: 7999

Authentication

[] Login/Password

You can’t perform that action at this time.