diff --git a/crates/core/src/riotgames.pem b/crates/core/src/riotgames.pem new file mode 100644 index 0000000..0097990 --- /dev/null +++ b/crates/core/src/riotgames.pem @@ -0,0 +1,25 @@ +-----BEGIN CERTIFICATE----- +MIIEIDCCAwgCCQDJC+QAdVx4UDANBgkqhkiG9w0BAQUFADCB0TELMAkGA1UEBhMC +VVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFTATBgNVBAcTDFNhbnRhIE1vbmljYTET +MBEGA1UEChMKUmlvdCBHYW1lczEdMBsGA1UECxMUTG9MIEdhbWUgRW5naW5lZXJp +bmcxMzAxBgNVBAMTKkxvTCBHYW1lIEVuZ2luZWVyaW5nIENlcnRpZmljYXRlIEF1 +dGhvcml0eTEtMCsGCSqGSIb3DQEJARYeZ2FtZXRlY2hub2xvZ2llc0ByaW90Z2Ft +ZXMuY29tMB4XDTEzMTIwNDAwNDgzOVoXDTQzMTEyNzAwNDgzOVowgdExCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRUwEwYDVQQHEwxTYW50YSBNb25p +Y2ExEzARBgNVBAoTClJpb3QgR2FtZXMxHTAbBgNVBAsTFExvTCBHYW1lIEVuZ2lu +ZWVyaW5nMTMwMQYDVQQDEypMb0wgR2FtZSBFbmdpbmVlcmluZyBDZXJ0aWZpY2F0 +ZSBBdXRob3JpdHkxLTArBgkqhkiG9w0BCQEWHmdhbWV0ZWNobm9sb2dpZXNAcmlv +dGdhbWVzLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKoJemF/ +6PNG3GRJGbjzImTdOo1OJRDI7noRwJgDqkaJFkwv0X8aPUGbZSUzUO23cQcCgpYj +21ygzKu5dtCN2EcQVVpNtyPuM2V4eEGr1woodzALtufL3Nlyh6g5jKKuDIfeUBHv +JNyQf2h3Uha16lnrXmz9o9wsX/jf+jUAljBJqsMeACOpXfuZy+YKUCxSPOZaYTLC +y+0GQfiT431pJHBQlrXAUwzOmaJPQ7M6mLfsnpHibSkxUfMfHROaYCZ/sbWKl3lr +ZA9DbwaKKfS1Iw0ucAeDudyuqb4JntGU/W0aboKA0c3YB02mxAM4oDnqseuKV/CX +8SQAiaXnYotuNXMCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAf3KPmddqEqqC8iLs +lcd0euC4F5+USp9YsrZ3WuOzHqVxTtX3hR1scdlDXNvrsebQZUqwGdZGMS16ln3k +WObw7BbhU89tDNCN7Lt/IjT4MGRYRE+TmRc5EeIXxHkQ78bQqbmAI3GsW+7kJsoO +q3DdeE+M+BUJrhWorsAQCgUyZO166SAtKXKLIcxa+ddC49NvMQPJyzm3V+2b1roP +SvD2WV8gRYUnGmy/N0+u6ANq5EsbhZ548zZc+BI4upsWChTLyxt2RxR7+uGlS1+5 +EcGfKZ+g024k/J32XP4hdho7WYAS2xMiV83CfLR/MNi8oSMaVQTdKD8cpgiWJk3L +XWehWA== +-----END CERTIFICATE----- diff --git a/crates/core/tests/fixtures/client/champ_select_session_absent.json b/crates/core/tests/fixtures/client/champ_select_session_absent.json new file mode 100644 index 0000000..4913e1c --- /dev/null +++ b/crates/core/tests/fixtures/client/champ_select_session_absent.json @@ -0,0 +1,6 @@ +{ + "errorCode": "RPC_ERROR", + "httpStatus": 404, + "implementationDetails": {}, + "message": "No active delegate" +} diff --git a/crates/core/tests/fixtures/client/current_summoner.json b/crates/core/tests/fixtures/client/current_summoner.json new file mode 100644 index 0000000..029087d --- /dev/null +++ b/crates/core/tests/fixtures/client/current_summoner.json @@ -0,0 +1,24 @@ +{ + "accountId": 1000001, + "displayName": "Joueur", + "gameName": "Joueur", + "internalName": "Joueur", + "nameChangeFlag": false, + "percentCompleteForNextLevel": 43, + "privacy": "PUBLIC", + "profileIconId": 1, + "puuid": "fixture-puuid-self", + "rerollPoints": { + "currentPoints": 0, + "maxRolls": 2, + "numberOfRolls": 0, + "pointsCostToRoll": 250, + "pointsToReroll": 250 + }, + "summonerId": 2000002, + "summonerLevel": 867, + "tagLine": "EUW", + "unnamed": false, + "xpSinceLastLevel": 1499, + "xpUntilNextLevel": 3456 +} diff --git a/crates/core/tests/fixtures/client/gameflow_phase_none.json b/crates/core/tests/fixtures/client/gameflow_phase_none.json new file mode 100644 index 0000000..68cab94 --- /dev/null +++ b/crates/core/tests/fixtures/client/gameflow_phase_none.json @@ -0,0 +1 @@ +"None" diff --git a/crates/core/tests/fixtures/client/gameflow_session_absent.json b/crates/core/tests/fixtures/client/gameflow_session_absent.json new file mode 100644 index 0000000..780b003 --- /dev/null +++ b/crates/core/tests/fixtures/client/gameflow_session_absent.json @@ -0,0 +1,6 @@ +{ + "errorCode": "RPC_ERROR", + "httpStatus": 404, + "implementationDetails": {}, + "message": "No gameflow session exists." +} diff --git a/crates/core/tests/fixtures/client/gameflow_session_in_game.json b/crates/core/tests/fixtures/client/gameflow_session_in_game.json new file mode 100644 index 0000000..2efc704 --- /dev/null +++ b/crates/core/tests/fixtures/client/gameflow_session_in_game.json @@ -0,0 +1,27 @@ +{ + "phase": "InProgress", + "gameData": { + "gameId": 9000000099, + "isCustomGame": false, + "queue": { + "id": 1750, + "mapId": 30, + "name": "Arena 3x6", + "shortName": "Arena 3x6", + "type": "CHERRY", + "gameMode": "CHERRY", + "category": "PvP", + "isRanked": false, + "isCustom": false + } + }, + "map": { + "id": 30, + "name": "Arena", + "mapStringId": "TGR", + "gameMode": "CHERRY", + "gameModeName": "Arena", + "gameModeShortName": "Arena", + "isRGM": false + } +} diff --git a/crates/core/tests/fixtures/client/progression_groups_configuration.json b/crates/core/tests/fixtures/client/progression_groups_configuration.json new file mode 100644 index 0000000..fbc4fb7 --- /dev/null +++ b/crates/core/tests/fixtures/client/progression_groups_configuration.json @@ -0,0 +1,94 @@ +[ + { + "counters": [ + { + "direction": "INCREASING", + "groupId": "", + "id": "d453b6dd-9cfd-5be5-9279-bdaf01235756", + "name": "Opal_SilverShields", + "startValue": 0 + } + ], + "id": "337e6110-69cf-4a19-bfbc-e6e86acdedca", + "milestones": [], + "name": "Opal_Progression", + "productId": "", + "repeat": { + "count": 0, + "milestones": [], + "multiplier": 1.0, + "repeatTriggers": [], + "scope": 0 + }, + "schemaVersion": "1.0" + }, + { + "counters": [ + { + "direction": "INCREASING", + "groupId": "", + "id": "d64a3f04-2ba0-475a-9a33-782cb12e6467", + "name": "2026 Season 2 Cherry Champs Completed Counter", + "startValue": 0 + } + ], + "id": "01030e0d-e3e3-4034-93dc-44a88bcb8401", + "milestones": [], + "name": "2026 Season 2 Champs Completed Track", + "productId": "", + "repeat": { + "count": 0, + "milestones": [], + "multiplier": 0.0, + "repeatTriggers": [], + "scope": 0 + }, + "schemaVersion": "2.0" + }, + { + "counters": [ + { + "direction": "INCREASING", + "groupId": "", + "id": "be96f5dc-d65c-4ea4-9a23-0b2c1bb6880f", + "name": "2026 Season 1 Cherry Champs Completed Counter", + "startValue": 0 + } + ], + "id": "7d0ef399-dd59-4005-bf1d-e0b98cda8acb", + "milestones": [], + "name": "2026 Season 1 Champs Completed Track", + "productId": "", + "repeat": { + "count": 0, + "milestones": [], + "multiplier": 1.0, + "repeatTriggers": [], + "scope": 0 + }, + "schemaVersion": "1.0" + }, + { + "counters": [ + { + "direction": "INCREASING", + "groupId": "", + "id": "ae1d0604-8841-4640-987e-29696c18caca", + "name": "Cherry 2025 Champs Completed Counter", + "startValue": 0 + } + ], + "id": "e5d45c5c-a035-4e0a-9c9d-c02a3604a3b9", + "milestones": [], + "name": "Cherry 2025 Champs Completed Track", + "productId": "", + "repeat": { + "count": 0, + "milestones": [], + "multiplier": 1.0, + "repeatTriggers": [], + "scope": 0 + }, + "schemaVersion": "1.0" + } +] diff --git a/crates/core/tests/fixtures/client/progression_instance_data.json b/crates/core/tests/fixtures/client/progression_instance_data.json new file mode 100644 index 0000000..88a3377 --- /dev/null +++ b/crates/core/tests/fixtures/client/progression_instance_data.json @@ -0,0 +1,14 @@ +{ + "counters": [ + { + "counterId": "d64a3f04-2ba0-475a-9a33-782cb12e6467", + "counterValue": 52, + "groupId": "", + "ownerId": "", + "productId": "" + } + ], + "groupId": "01030e0d-e3e3-4034-93dc-44a88bcb8401", + "milestones": [], + "schemaVersion": "2.0" +} diff --git a/crates/core/tests/fixtures/ddragon/champion.json b/crates/core/tests/fixtures/ddragon/champion.json new file mode 100644 index 0000000..0c00d3b --- /dev/null +++ b/crates/core/tests/fixtures/ddragon/champion.json @@ -0,0 +1,1391 @@ +{ + "type": "champion", + "format": "standAloneComplex", + "version": "16.22.1", + "data": { + "Aatrox": { + "id": "Aatrox", + "key": "266", + "name": "Aatrox", + "image": { + "full": "Aatrox.png" + } + }, + "Ahri": { + "id": "Ahri", + "key": "103", + "name": "Ahri", + "image": { + "full": "Ahri.png" + } + }, + "Akali": { + "id": "Akali", + "key": "84", + "name": "Akali", + "image": { + "full": "Akali.png" + } + }, + "Akshan": { + "id": "Akshan", + "key": "166", + "name": "Akshan", + "image": { + "full": "Akshan.png" + } + }, + "Alistar": { + "id": "Alistar", + "key": "12", + "name": "Alistar", + "image": { + "full": "Alistar.png" + } + }, + "Ambessa": { + "id": "Ambessa", + "key": "799", + "name": "Ambessa", + "image": { + "full": "Ambessa.png" + } + }, + "Amumu": { + "id": "Amumu", + "key": "32", + "name": "Amumu", + "image": { + "full": "Amumu.png" + } + }, + "Anivia": { + "id": "Anivia", + "key": "34", + "name": "Anivia", + "image": { + "full": "Anivia.png" + } + }, + "Annie": { + "id": "Annie", + "key": "1", + "name": "Annie", + "image": { + "full": "Annie.png" + } + }, + "Aphelios": { + "id": "Aphelios", + "key": "523", + "name": "Aphelios", + "image": { + "full": "Aphelios.png" + } + }, + "Ashe": { + "id": "Ashe", + "key": "22", + "name": "Ashe", + "image": { + "full": "Ashe.png" + } + }, + "AurelionSol": { + "id": "AurelionSol", + "key": "136", + "name": "Aurelion Sol", + "image": { + "full": "AurelionSol.png" + } + }, + "Aurora": { + "id": "Aurora", + "key": "893", + "name": "Aurora", + "image": { + "full": "Aurora.png" + } + }, + "Azir": { + "id": "Azir", + "key": "268", + "name": "Azir", + "image": { + "full": "Azir.png" + } + }, + "Bard": { + "id": "Bard", + "key": "432", + "name": "Bard", + "image": { + "full": "Bard.png" + } + }, + "Belveth": { + "id": "Belveth", + "key": "200", + "name": "Bel'Veth", + "image": { + "full": "Belveth.png" + } + }, + "Blitzcrank": { + "id": "Blitzcrank", + "key": "53", + "name": "Blitzcrank", + "image": { + "full": "Blitzcrank.png" + } + }, + "Brand": { + "id": "Brand", + "key": "63", + "name": "Brand", + "image": { + "full": "Brand.png" + } + }, + "Braum": { + "id": "Braum", + "key": "201", + "name": "Braum", + "image": { + "full": "Braum.png" + } + }, + "Briar": { + "id": "Briar", + "key": "233", + "name": "Briar", + "image": { + "full": "Briar.png" + } + }, + "Caitlyn": { + "id": "Caitlyn", + "key": "51", + "name": "Caitlyn", + "image": { + "full": "Caitlyn.png" + } + }, + "Camille": { + "id": "Camille", + "key": "164", + "name": "Camille", + "image": { + "full": "Camille.png" + } + }, + "Cassiopeia": { + "id": "Cassiopeia", + "key": "69", + "name": "Cassiopeia", + "image": { + "full": "Cassiopeia.png" + } + }, + "Chogath": { + "id": "Chogath", + "key": "31", + "name": "Cho'Gath", + "image": { + "full": "Chogath.png" + } + }, + "Corki": { + "id": "Corki", + "key": "42", + "name": "Corki", + "image": { + "full": "Corki.png" + } + }, + "Darius": { + "id": "Darius", + "key": "122", + "name": "Darius", + "image": { + "full": "Darius.png" + } + }, + "Diana": { + "id": "Diana", + "key": "131", + "name": "Diana", + "image": { + "full": "Diana.png" + } + }, + "Draven": { + "id": "Draven", + "key": "119", + "name": "Draven", + "image": { + "full": "Draven.png" + } + }, + "DrMundo": { + "id": "DrMundo", + "key": "36", + "name": "Dr. Mundo", + "image": { + "full": "DrMundo.png" + } + }, + "Ekko": { + "id": "Ekko", + "key": "245", + "name": "Ekko", + "image": { + "full": "Ekko.png" + } + }, + "Elise": { + "id": "Elise", + "key": "60", + "name": "Elise", + "image": { + "full": "Elise.png" + } + }, + "Evelynn": { + "id": "Evelynn", + "key": "28", + "name": "Evelynn", + "image": { + "full": "Evelynn.png" + } + }, + "Ezreal": { + "id": "Ezreal", + "key": "81", + "name": "Ezreal", + "image": { + "full": "Ezreal.png" + } + }, + "Fiddlesticks": { + "id": "Fiddlesticks", + "key": "9", + "name": "Fiddlesticks", + "image": { + "full": "Fiddlesticks.png" + } + }, + "Fiora": { + "id": "Fiora", + "key": "114", + "name": "Fiora", + "image": { + "full": "Fiora.png" + } + }, + "Fizz": { + "id": "Fizz", + "key": "105", + "name": "Fizz", + "image": { + "full": "Fizz.png" + } + }, + "Galio": { + "id": "Galio", + "key": "3", + "name": "Galio", + "image": { + "full": "Galio.png" + } + }, + "Gangplank": { + "id": "Gangplank", + "key": "41", + "name": "Gangplank", + "image": { + "full": "Gangplank.png" + } + }, + "Garen": { + "id": "Garen", + "key": "86", + "name": "Garen", + "image": { + "full": "Garen.png" + } + }, + "Gnar": { + "id": "Gnar", + "key": "150", + "name": "Gnar", + "image": { + "full": "Gnar.png" + } + }, + "Gragas": { + "id": "Gragas", + "key": "79", + "name": "Gragas", + "image": { + "full": "Gragas.png" + } + }, + "Graves": { + "id": "Graves", + "key": "104", + "name": "Graves", + "image": { + "full": "Graves.png" + } + }, + "Gwen": { + "id": "Gwen", + "key": "887", + "name": "Gwen", + "image": { + "full": "Gwen.png" + } + }, + "Hecarim": { + "id": "Hecarim", + "key": "120", + "name": "Hecarim", + "image": { + "full": "Hecarim.png" + } + }, + "Heimerdinger": { + "id": "Heimerdinger", + "key": "74", + "name": "Heimerdinger", + "image": { + "full": "Heimerdinger.png" + } + }, + "Hwei": { + "id": "Hwei", + "key": "910", + "name": "Hwei", + "image": { + "full": "Hwei.png" + } + }, + "Illaoi": { + "id": "Illaoi", + "key": "420", + "name": "Illaoi", + "image": { + "full": "Illaoi.png" + } + }, + "Irelia": { + "id": "Irelia", + "key": "39", + "name": "Irelia", + "image": { + "full": "Irelia.png" + } + }, + "Ivern": { + "id": "Ivern", + "key": "427", + "name": "Ivern", + "image": { + "full": "Ivern.png" + } + }, + "Janna": { + "id": "Janna", + "key": "40", + "name": "Janna", + "image": { + "full": "Janna.png" + } + }, + "JarvanIV": { + "id": "JarvanIV", + "key": "59", + "name": "Jarvan IV", + "image": { + "full": "JarvanIV.png" + } + }, + "Jax": { + "id": "Jax", + "key": "24", + "name": "Jax", + "image": { + "full": "Jax.png" + } + }, + "Jayce": { + "id": "Jayce", + "key": "126", + "name": "Jayce", + "image": { + "full": "Jayce.png" + } + }, + "Jhin": { + "id": "Jhin", + "key": "202", + "name": "Jhin", + "image": { + "full": "Jhin.png" + } + }, + "Jinx": { + "id": "Jinx", + "key": "222", + "name": "Jinx", + "image": { + "full": "Jinx.png" + } + }, + "Kaisa": { + "id": "Kaisa", + "key": "145", + "name": "Kai'Sa", + "image": { + "full": "Kaisa.png" + } + }, + "Kalista": { + "id": "Kalista", + "key": "429", + "name": "Kalista", + "image": { + "full": "Kalista.png" + } + }, + "Karma": { + "id": "Karma", + "key": "43", + "name": "Karma", + "image": { + "full": "Karma.png" + } + }, + "Karthus": { + "id": "Karthus", + "key": "30", + "name": "Karthus", + "image": { + "full": "Karthus.png" + } + }, + "Kassadin": { + "id": "Kassadin", + "key": "38", + "name": "Kassadin", + "image": { + "full": "Kassadin.png" + } + }, + "Katarina": { + "id": "Katarina", + "key": "55", + "name": "Katarina", + "image": { + "full": "Katarina.png" + } + }, + "Kayle": { + "id": "Kayle", + "key": "10", + "name": "Kayle", + "image": { + "full": "Kayle.png" + } + }, + "Kayn": { + "id": "Kayn", + "key": "141", + "name": "Kayn", + "image": { + "full": "Kayn.png" + } + }, + "Kennen": { + "id": "Kennen", + "key": "85", + "name": "Kennen", + "image": { + "full": "Kennen.png" + } + }, + "Khazix": { + "id": "Khazix", + "key": "121", + "name": "Kha'Zix", + "image": { + "full": "Khazix.png" + } + }, + "Kindred": { + "id": "Kindred", + "key": "203", + "name": "Kindred", + "image": { + "full": "Kindred.png" + } + }, + "Kled": { + "id": "Kled", + "key": "240", + "name": "Kled", + "image": { + "full": "Kled.png" + } + }, + "KogMaw": { + "id": "KogMaw", + "key": "96", + "name": "Kog'Maw", + "image": { + "full": "KogMaw.png" + } + }, + "KSante": { + "id": "KSante", + "key": "897", + "name": "K'Santé", + "image": { + "full": "KSante.png" + } + }, + "Leblanc": { + "id": "Leblanc", + "key": "7", + "name": "LeBlanc", + "image": { + "full": "Leblanc.png" + } + }, + "LeeSin": { + "id": "LeeSin", + "key": "64", + "name": "Lee Sin", + "image": { + "full": "LeeSin.png" + } + }, + "Leona": { + "id": "Leona", + "key": "89", + "name": "Leona", + "image": { + "full": "Leona.png" + } + }, + "Lillia": { + "id": "Lillia", + "key": "876", + "name": "Lillia", + "image": { + "full": "Lillia.png" + } + }, + "Lissandra": { + "id": "Lissandra", + "key": "127", + "name": "Lissandra", + "image": { + "full": "Lissandra.png" + } + }, + "Locke": { + "id": "Locke", + "key": "805", + "name": "Locke", + "image": { + "full": "Locke.png" + } + }, + "Lucian": { + "id": "Lucian", + "key": "236", + "name": "Lucian", + "image": { + "full": "Lucian.png" + } + }, + "Lulu": { + "id": "Lulu", + "key": "117", + "name": "Lulu", + "image": { + "full": "Lulu.png" + } + }, + "Lux": { + "id": "Lux", + "key": "99", + "name": "Lux", + "image": { + "full": "Lux.png" + } + }, + "Malphite": { + "id": "Malphite", + "key": "54", + "name": "Malphite", + "image": { + "full": "Malphite.png" + } + }, + "Malzahar": { + "id": "Malzahar", + "key": "90", + "name": "Malzahar", + "image": { + "full": "Malzahar.png" + } + }, + "Maokai": { + "id": "Maokai", + "key": "57", + "name": "Maokai", + "image": { + "full": "Maokai.png" + } + }, + "MasterYi": { + "id": "MasterYi", + "key": "11", + "name": "Maître Yi", + "image": { + "full": "MasterYi.png" + } + }, + "Mel": { + "id": "Mel", + "key": "800", + "name": "Mel", + "image": { + "full": "Mel.png" + } + }, + "Milio": { + "id": "Milio", + "key": "902", + "name": "Milio", + "image": { + "full": "Milio.png" + } + }, + "MissFortune": { + "id": "MissFortune", + "key": "21", + "name": "Miss Fortune", + "image": { + "full": "MissFortune.png" + } + }, + "MonkeyKing": { + "id": "MonkeyKing", + "key": "62", + "name": "Wukong", + "image": { + "full": "MonkeyKing.png" + } + }, + "Mordekaiser": { + "id": "Mordekaiser", + "key": "82", + "name": "Mordekaiser", + "image": { + "full": "Mordekaiser.png" + } + }, + "Morgana": { + "id": "Morgana", + "key": "25", + "name": "Morgana", + "image": { + "full": "Morgana.png" + } + }, + "Naafiri": { + "id": "Naafiri", + "key": "950", + "name": "Naafiri", + "image": { + "full": "Naafiri.png" + } + }, + "Nami": { + "id": "Nami", + "key": "267", + "name": "Nami", + "image": { + "full": "Nami.png" + } + }, + "Nasus": { + "id": "Nasus", + "key": "75", + "name": "Nasus", + "image": { + "full": "Nasus.png" + } + }, + "Nautilus": { + "id": "Nautilus", + "key": "111", + "name": "Nautilus", + "image": { + "full": "Nautilus.png" + } + }, + "Neeko": { + "id": "Neeko", + "key": "518", + "name": "Neeko", + "image": { + "full": "Neeko.png" + } + }, + "Nidalee": { + "id": "Nidalee", + "key": "76", + "name": "Nidalee", + "image": { + "full": "Nidalee.png" + } + }, + "Nilah": { + "id": "Nilah", + "key": "895", + "name": "Nilah", + "image": { + "full": "Nilah.png" + } + }, + "Nocturne": { + "id": "Nocturne", + "key": "56", + "name": "Nocturne", + "image": { + "full": "Nocturne.png" + } + }, + "Nunu": { + "id": "Nunu", + "key": "20", + "name": "Nunu et Willump", + "image": { + "full": "Nunu.png" + } + }, + "Olaf": { + "id": "Olaf", + "key": "2", + "name": "Olaf", + "image": { + "full": "Olaf.png" + } + }, + "Orianna": { + "id": "Orianna", + "key": "61", + "name": "Orianna", + "image": { + "full": "Orianna.png" + } + }, + "Ornn": { + "id": "Ornn", + "key": "516", + "name": "Ornn", + "image": { + "full": "Ornn.png" + } + }, + "Pantheon": { + "id": "Pantheon", + "key": "80", + "name": "Pantheon", + "image": { + "full": "Pantheon.png" + } + }, + "Poppy": { + "id": "Poppy", + "key": "78", + "name": "Poppy", + "image": { + "full": "Poppy.png" + } + }, + "Pyke": { + "id": "Pyke", + "key": "555", + "name": "Pyke", + "image": { + "full": "Pyke.png" + } + }, + "Qiyana": { + "id": "Qiyana", + "key": "246", + "name": "Qiyana", + "image": { + "full": "Qiyana.png" + } + }, + "Quinn": { + "id": "Quinn", + "key": "133", + "name": "Quinn", + "image": { + "full": "Quinn.png" + } + }, + "Rakan": { + "id": "Rakan", + "key": "497", + "name": "Rakan", + "image": { + "full": "Rakan.png" + } + }, + "Rammus": { + "id": "Rammus", + "key": "33", + "name": "Rammus", + "image": { + "full": "Rammus.png" + } + }, + "RekSai": { + "id": "RekSai", + "key": "421", + "name": "Rek'Sai", + "image": { + "full": "RekSai.png" + } + }, + "Rell": { + "id": "Rell", + "key": "526", + "name": "Rell", + "image": { + "full": "Rell.png" + } + }, + "Renata": { + "id": "Renata", + "key": "888", + "name": "Renata Glasc", + "image": { + "full": "Renata.png" + } + }, + "Renekton": { + "id": "Renekton", + "key": "58", + "name": "Renekton", + "image": { + "full": "Renekton.png" + } + }, + "Rengar": { + "id": "Rengar", + "key": "107", + "name": "Rengar", + "image": { + "full": "Rengar.png" + } + }, + "Riven": { + "id": "Riven", + "key": "92", + "name": "Riven", + "image": { + "full": "Riven.png" + } + }, + "Rumble": { + "id": "Rumble", + "key": "68", + "name": "Rumble", + "image": { + "full": "Rumble.png" + } + }, + "Ryze": { + "id": "Ryze", + "key": "13", + "name": "Ryze", + "image": { + "full": "Ryze.png" + } + }, + "Samira": { + "id": "Samira", + "key": "360", + "name": "Samira", + "image": { + "full": "Samira.png" + } + }, + "Sejuani": { + "id": "Sejuani", + "key": "113", + "name": "Sejuani", + "image": { + "full": "Sejuani.png" + } + }, + "Senna": { + "id": "Senna", + "key": "235", + "name": "Senna", + "image": { + "full": "Senna.png" + } + }, + "Seraphine": { + "id": "Seraphine", + "key": "147", + "name": "Séraphine", + "image": { + "full": "Seraphine.png" + } + }, + "Sett": { + "id": "Sett", + "key": "875", + "name": "Sett", + "image": { + "full": "Sett.png" + } + }, + "Shaco": { + "id": "Shaco", + "key": "35", + "name": "Shaco", + "image": { + "full": "Shaco.png" + } + }, + "Shen": { + "id": "Shen", + "key": "98", + "name": "Shen", + "image": { + "full": "Shen.png" + } + }, + "Shyvana": { + "id": "Shyvana", + "key": "102", + "name": "Shyvana", + "image": { + "full": "Shyvana.png" + } + }, + "Singed": { + "id": "Singed", + "key": "27", + "name": "Singed", + "image": { + "full": "Singed.png" + } + }, + "Sion": { + "id": "Sion", + "key": "14", + "name": "Sion", + "image": { + "full": "Sion.png" + } + }, + "Sivir": { + "id": "Sivir", + "key": "15", + "name": "Sivir", + "image": { + "full": "Sivir.png" + } + }, + "Skarner": { + "id": "Skarner", + "key": "72", + "name": "Skarner", + "image": { + "full": "Skarner.png" + } + }, + "Smolder": { + "id": "Smolder", + "key": "901", + "name": "Smolder", + "image": { + "full": "Smolder.png" + } + }, + "Sona": { + "id": "Sona", + "key": "37", + "name": "Sona", + "image": { + "full": "Sona.png" + } + }, + "Soraka": { + "id": "Soraka", + "key": "16", + "name": "Soraka", + "image": { + "full": "Soraka.png" + } + }, + "Swain": { + "id": "Swain", + "key": "50", + "name": "Swain", + "image": { + "full": "Swain.png" + } + }, + "Sylas": { + "id": "Sylas", + "key": "517", + "name": "Sylas", + "image": { + "full": "Sylas.png" + } + }, + "Syndra": { + "id": "Syndra", + "key": "134", + "name": "Syndra", + "image": { + "full": "Syndra.png" + } + }, + "TahmKench": { + "id": "TahmKench", + "key": "223", + "name": "Tahm Kench", + "image": { + "full": "TahmKench.png" + } + }, + "Taliyah": { + "id": "Taliyah", + "key": "163", + "name": "Taliyah", + "image": { + "full": "Taliyah.png" + } + }, + "Talon": { + "id": "Talon", + "key": "91", + "name": "Talon", + "image": { + "full": "Talon.png" + } + }, + "Taric": { + "id": "Taric", + "key": "44", + "name": "Taric", + "image": { + "full": "Taric.png" + } + }, + "Teemo": { + "id": "Teemo", + "key": "17", + "name": "Teemo", + "image": { + "full": "Teemo.png" + } + }, + "Thresh": { + "id": "Thresh", + "key": "412", + "name": "Thresh", + "image": { + "full": "Thresh.png" + } + }, + "Tristana": { + "id": "Tristana", + "key": "18", + "name": "Tristana", + "image": { + "full": "Tristana.png" + } + }, + "Trundle": { + "id": "Trundle", + "key": "48", + "name": "Trundle", + "image": { + "full": "Trundle.png" + } + }, + "Tryndamere": { + "id": "Tryndamere", + "key": "23", + "name": "Tryndamere", + "image": { + "full": "Tryndamere.png" + } + }, + "TwistedFate": { + "id": "TwistedFate", + "key": "4", + "name": "Twisted Fate", + "image": { + "full": "TwistedFate.png" + } + }, + "Twitch": { + "id": "Twitch", + "key": "29", + "name": "Twitch", + "image": { + "full": "Twitch.png" + } + }, + "Udyr": { + "id": "Udyr", + "key": "77", + "name": "Udyr", + "image": { + "full": "Udyr.png" + } + }, + "Urgot": { + "id": "Urgot", + "key": "6", + "name": "Urgot", + "image": { + "full": "Urgot.png" + } + }, + "Varus": { + "id": "Varus", + "key": "110", + "name": "Varus", + "image": { + "full": "Varus.png" + } + }, + "Vayne": { + "id": "Vayne", + "key": "67", + "name": "Vayne", + "image": { + "full": "Vayne.png" + } + }, + "Veigar": { + "id": "Veigar", + "key": "45", + "name": "Veigar", + "image": { + "full": "Veigar.png" + } + }, + "Velkoz": { + "id": "Velkoz", + "key": "161", + "name": "Vel'Koz", + "image": { + "full": "Velkoz.png" + } + }, + "Vex": { + "id": "Vex", + "key": "711", + "name": "Vex", + "image": { + "full": "Vex.png" + } + }, + "Vi": { + "id": "Vi", + "key": "254", + "name": "Vi", + "image": { + "full": "Vi.png" + } + }, + "Viego": { + "id": "Viego", + "key": "234", + "name": "Viego", + "image": { + "full": "Viego.png" + } + }, + "Viktor": { + "id": "Viktor", + "key": "112", + "name": "Viktor", + "image": { + "full": "Viktor.png" + } + }, + "Vladimir": { + "id": "Vladimir", + "key": "8", + "name": "Vladimir", + "image": { + "full": "Vladimir.png" + } + }, + "Volibear": { + "id": "Volibear", + "key": "106", + "name": "Volibear", + "image": { + "full": "Volibear.png" + } + }, + "Warwick": { + "id": "Warwick", + "key": "19", + "name": "Warwick", + "image": { + "full": "Warwick.png" + } + }, + "Xayah": { + "id": "Xayah", + "key": "498", + "name": "Xayah", + "image": { + "full": "Xayah.png" + } + }, + "Xerath": { + "id": "Xerath", + "key": "101", + "name": "Xerath", + "image": { + "full": "Xerath.png" + } + }, + "XinZhao": { + "id": "XinZhao", + "key": "5", + "name": "Xin Zhao", + "image": { + "full": "XinZhao.png" + } + }, + "Yasuo": { + "id": "Yasuo", + "key": "157", + "name": "Yasuo", + "image": { + "full": "Yasuo.png" + } + }, + "Yone": { + "id": "Yone", + "key": "777", + "name": "Yone", + "image": { + "full": "Yone.png" + } + }, + "Yorick": { + "id": "Yorick", + "key": "83", + "name": "Yorick", + "image": { + "full": "Yorick.png" + } + }, + "Yunara": { + "id": "Yunara", + "key": "804", + "name": "Yunara", + "image": { + "full": "Yunara.png" + } + }, + "Yuumi": { + "id": "Yuumi", + "key": "350", + "name": "Yuumi", + "image": { + "full": "Yuumi.png" + } + }, + "Zaahen": { + "id": "Zaahen", + "key": "904", + "name": "Zaahen", + "image": { + "full": "Zaahen.png" + } + }, + "Zac": { + "id": "Zac", + "key": "154", + "name": "Zac", + "image": { + "full": "Zac.png" + } + }, + "Zed": { + "id": "Zed", + "key": "238", + "name": "Zed", + "image": { + "full": "Zed.png" + } + }, + "Zeri": { + "id": "Zeri", + "key": "221", + "name": "Zeri", + "image": { + "full": "Zeri.png" + } + }, + "Ziggs": { + "id": "Ziggs", + "key": "115", + "name": "Ziggs", + "image": { + "full": "Ziggs.png" + } + }, + "Zilean": { + "id": "Zilean", + "key": "26", + "name": "Zilean", + "image": { + "full": "Zilean.png" + } + }, + "Zoe": { + "id": "Zoe", + "key": "142", + "name": "Zoé", + "image": { + "full": "Zoe.png" + } + }, + "Zyra": { + "id": "Zyra", + "key": "143", + "name": "Zyra", + "image": { + "full": "Zyra.png" + } + } + } +} diff --git a/crates/core/tests/fixtures/ddragon/versions.json b/crates/core/tests/fixtures/ddragon/versions.json new file mode 100644 index 0000000..4f611bd --- /dev/null +++ b/crates/core/tests/fixtures/ddragon/versions.json @@ -0,0 +1 @@ +["16.22.1", "16.21.1", "16.20.1"] diff --git a/crates/core/tests/fixtures/riot/account.json b/crates/core/tests/fixtures/riot/account.json new file mode 100644 index 0000000..30b039f --- /dev/null +++ b/crates/core/tests/fixtures/riot/account.json @@ -0,0 +1,5 @@ +{ + "puuid": "fixture-puuid-self", + "gameName": "Joueur", + "tagLine": "EUW" +} diff --git a/crates/core/tests/fixtures/riot/match_1700_EUW1_9000000001.json b/crates/core/tests/fixtures/riot/match_1700_EUW1_9000000001.json new file mode 100644 index 0000000..24a306a --- /dev/null +++ b/crates/core/tests/fixtures/riot/match_1700_EUW1_9000000001.json @@ -0,0 +1,234 @@ +{ + "metadata": { + "dataVersion": "2", + "matchId": "EUW1_9000000001", + "participants": [ + "fixture-puuid-01", + "fixture-puuid-02", + "fixture-puuid-03", + "fixture-puuid-04", + "fixture-puuid-05", + "fixture-puuid-06", + "fixture-puuid-07", + "fixture-puuid-08", + "fixture-puuid-09", + "fixture-puuid-10", + "fixture-puuid-11", + "fixture-puuid-12", + "fixture-puuid-13", + "fixture-puuid-14", + "fixture-puuid-15", + "fixture-puuid-self" + ] + }, + "info": { + "endOfGameResult": "GameComplete", + "gameCreation": 1765540183371, + "gameDuration": 1286, + "gameEndTimestamp": 1765541564635, + "gameId": 9000000001, + "gameMode": "CHERRY", + "gameName": "teambuilder-match-9000000001", + "gameStartTimestamp": 1765540278065, + "gameType": "MATCHED_GAME", + "gameVersion": "15.24.732.64", + "mapId": 30, + "platformId": "EUW1", + "queueId": 1700, + "tournamentCode": "", + "participants": [ + { + "puuid": "fixture-puuid-01", + "riotIdGameName": "Autre01", + "riotIdTagline": "FIX", + "championId": 77, + "championName": "Udyr", + "placement": 8, + "subteamPlacement": 8, + "playerSubteamId": 8, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-02", + "riotIdGameName": "Autre02", + "riotIdTagline": "FIX", + "championId": 103, + "championName": "Ahri", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 3, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-03", + "riotIdGameName": "Autre03", + "riotIdTagline": "FIX", + "championId": 901, + "championName": "Smolder", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 4, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-04", + "riotIdGameName": "Autre04", + "riotIdTagline": "FIX", + "championId": 350, + "championName": "Yuumi", + "placement": 8, + "subteamPlacement": 8, + "playerSubteamId": 8, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-05", + "riotIdGameName": "Autre05", + "riotIdTagline": "FIX", + "championId": 48, + "championName": "Trundle", + "placement": 7, + "subteamPlacement": 7, + "playerSubteamId": 2, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-06", + "riotIdGameName": "Autre06", + "riotIdTagline": "FIX", + "championId": 18, + "championName": "Tristana", + "placement": 7, + "subteamPlacement": 7, + "playerSubteamId": 2, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-07", + "riotIdGameName": "Autre07", + "riotIdTagline": "FIX", + "championId": 72, + "championName": "Skarner", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 7, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-08", + "riotIdGameName": "Autre08", + "riotIdTagline": "FIX", + "championId": 106, + "championName": "Volibear", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 6, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-09", + "riotIdGameName": "Autre09", + "riotIdTagline": "FIX", + "championId": 51, + "championName": "Caitlyn", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-10", + "riotIdGameName": "Autre10", + "riotIdTagline": "FIX", + "championId": 360, + "championName": "Samira", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-11", + "riotIdGameName": "Autre11", + "riotIdTagline": "FIX", + "championId": 202, + "championName": "Jhin", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 3, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-12", + "riotIdGameName": "Autre12", + "riotIdTagline": "FIX", + "championId": 268, + "championName": "Azir", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 6, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-13", + "riotIdGameName": "Autre13", + "riotIdTagline": "FIX", + "championId": 80, + "championName": "Pantheon", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-14", + "riotIdGameName": "Autre14", + "riotIdTagline": "FIX", + "championId": 50, + "championName": "Swain", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-15", + "riotIdGameName": "Autre15", + "riotIdTagline": "FIX", + "championId": 145, + "championName": "Kaisa", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 4, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-self", + "riotIdGameName": "Joueur", + "riotIdTagline": "EUW", + "championId": 222, + "championName": "Jinx", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 7, + "win": true, + "teamId": 100 + } + ] + } +} diff --git a/crates/core/tests/fixtures/riot/match_1700_EUW1_9000000002.json b/crates/core/tests/fixtures/riot/match_1700_EUW1_9000000002.json new file mode 100644 index 0000000..91350eb --- /dev/null +++ b/crates/core/tests/fixtures/riot/match_1700_EUW1_9000000002.json @@ -0,0 +1,234 @@ +{ + "metadata": { + "dataVersion": "2", + "matchId": "EUW1_9000000002", + "participants": [ + "fixture-puuid-01", + "fixture-puuid-02", + "fixture-puuid-03", + "fixture-puuid-04", + "fixture-puuid-05", + "fixture-puuid-06", + "fixture-puuid-07", + "fixture-puuid-08", + "fixture-puuid-09", + "fixture-puuid-10", + "fixture-puuid-11", + "fixture-puuid-12", + "fixture-puuid-13", + "fixture-puuid-14", + "fixture-puuid-15", + "fixture-puuid-self" + ] + }, + "info": { + "endOfGameResult": "GameComplete", + "gameCreation": 1778621899569, + "gameDuration": 1559, + "gameEndTimestamp": 1778623484903, + "gameId": 9000000002, + "gameMode": "CHERRY", + "gameName": "teambuilder-match-9000000002", + "gameStartTimestamp": 1778621925732, + "gameType": "MATCHED_GAME", + "gameVersion": "16.9.772.8292", + "mapId": 30, + "platformId": "EUW1", + "queueId": 1700, + "tournamentCode": "", + "participants": [ + { + "puuid": "fixture-puuid-01", + "riotIdGameName": "Autre01", + "riotIdTagline": "FIX", + "championId": 90, + "championName": "Malzahar", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 2, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-02", + "riotIdGameName": "Autre02", + "riotIdTagline": "FIX", + "championId": 1, + "championName": "Annie", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 2, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-03", + "riotIdGameName": "Autre03", + "riotIdTagline": "FIX", + "championId": 32, + "championName": "Amumu", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 7, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-04", + "riotIdGameName": "Autre04", + "riotIdTagline": "FIX", + "championId": 17, + "championName": "Teemo", + "placement": 8, + "subteamPlacement": 8, + "playerSubteamId": 3, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-05", + "riotIdGameName": "Autre05", + "riotIdTagline": "FIX", + "championId": 86, + "championName": "Garen", + "placement": 8, + "subteamPlacement": 8, + "playerSubteamId": 3, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-06", + "riotIdGameName": "Autre06", + "riotIdTagline": "FIX", + "championId": 56, + "championName": "Nocturne", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-07", + "riotIdGameName": "Autre07", + "riotIdTagline": "FIX", + "championId": 45, + "championName": "Veigar", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 7, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-08", + "riotIdGameName": "Autre08", + "riotIdTagline": "FIX", + "championId": 98, + "championName": "Shen", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 8, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-09", + "riotIdGameName": "Autre09", + "riotIdTagline": "FIX", + "championId": 40, + "championName": "Janna", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 4, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-10", + "riotIdGameName": "Autre10", + "riotIdTagline": "FIX", + "championId": 518, + "championName": "Neeko", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 4, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-11", + "riotIdGameName": "Autre11", + "riotIdTagline": "FIX", + "championId": 83, + "championName": "Yorick", + "placement": 7, + "subteamPlacement": 7, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-12", + "riotIdGameName": "Autre12", + "riotIdTagline": "FIX", + "championId": 17, + "championName": "Teemo", + "placement": 7, + "subteamPlacement": 7, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-13", + "riotIdGameName": "Autre13", + "riotIdTagline": "FIX", + "championId": 777, + "championName": "Yone", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 8, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-14", + "riotIdGameName": "Autre14", + "riotIdTagline": "FIX", + "championId": 50, + "championName": "Swain", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 6, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-15", + "riotIdGameName": "Autre15", + "riotIdTagline": "FIX", + "championId": 77, + "championName": "Udyr", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 6, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-self", + "riotIdGameName": "Joueur", + "riotIdTagline": "EUW", + "championId": 11, + "championName": "MasterYi", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + } + ] + } +} diff --git a/crates/core/tests/fixtures/riot/match_1740_EUW1_9000000004.json b/crates/core/tests/fixtures/riot/match_1740_EUW1_9000000004.json new file mode 100644 index 0000000..79b6953 --- /dev/null +++ b/crates/core/tests/fixtures/riot/match_1740_EUW1_9000000004.json @@ -0,0 +1,260 @@ +{ + "metadata": { + "dataVersion": "2", + "matchId": "EUW1_9000000004", + "participants": [ + "fixture-puuid-01", + "fixture-puuid-self", + "fixture-puuid-03", + "fixture-puuid-04", + "fixture-puuid-05", + "fixture-puuid-06", + "fixture-puuid-07", + "fixture-puuid-08", + "fixture-puuid-09", + "fixture-puuid-10", + "fixture-puuid-11", + "fixture-puuid-12", + "fixture-puuid-13", + "fixture-puuid-14", + "fixture-puuid-15", + "fixture-puuid-16", + "fixture-puuid-17", + "fixture-puuid-18" + ] + }, + "info": { + "endOfGameResult": "GameComplete", + "gameCreation": 1784407849858, + "gameDuration": 1466, + "gameEndTimestamp": 1784409359696, + "gameId": 9000000004, + "gameMode": "CHERRY", + "gameName": "teambuilder-match-9000000004", + "gameStartTimestamp": 1784407893073, + "gameType": "MATCHED_GAME", + "gameVersion": "16.14.794.5912", + "mapId": 30, + "platformId": "EUW1", + "queueId": 1740, + "tournamentCode": "", + "participants": [ + { + "puuid": "fixture-puuid-01", + "riotIdGameName": "Autre01", + "riotIdTagline": "FIX", + "championId": 150, + "championName": "Gnar", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-self", + "riotIdGameName": "Joueur", + "riotIdTagline": "EUW", + "championId": 8, + "championName": "Vladimir", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-03", + "riotIdGameName": "Autre03", + "riotIdTagline": "FIX", + "championId": 235, + "championName": "Senna", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 6, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-04", + "riotIdGameName": "Autre04", + "riotIdTagline": "FIX", + "championId": 69, + "championName": "Cassiopeia", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 3, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-05", + "riotIdGameName": "Autre05", + "riotIdTagline": "FIX", + "championId": 85, + "championName": "Kennen", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 3, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-06", + "riotIdGameName": "Autre06", + "riotIdTagline": "FIX", + "championId": 235, + "championName": "Senna", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 3, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-07", + "riotIdGameName": "Autre07", + "riotIdTagline": "FIX", + "championId": 223, + "championName": "TahmKench", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 6, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-08", + "riotIdGameName": "Autre08", + "riotIdTagline": "FIX", + "championId": 30, + "championName": "Karthus", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 4, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-09", + "riotIdGameName": "Autre09", + "riotIdTagline": "FIX", + "championId": 266, + "championName": "Aatrox", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 6, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-10", + "riotIdGameName": "Autre10", + "riotIdTagline": "FIX", + "championId": 91, + "championName": "Talon", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-11", + "riotIdGameName": "Autre11", + "riotIdTagline": "FIX", + "championId": 72, + "championName": "Skarner", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-12", + "riotIdGameName": "Autre12", + "riotIdTagline": "FIX", + "championId": 711, + "championName": "Vex", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 2, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-13", + "riotIdGameName": "Autre13", + "riotIdTagline": "FIX", + "championId": 202, + "championName": "Jhin", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 4, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-14", + "riotIdGameName": "Autre14", + "riotIdTagline": "FIX", + "championId": 44, + "championName": "Taric", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-15", + "riotIdGameName": "Autre15", + "riotIdTagline": "FIX", + "championId": 141, + "championName": "Kayn", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 2, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-16", + "riotIdGameName": "Autre16", + "riotIdTagline": "FIX", + "championId": 427, + "championName": "Ivern", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 2, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-17", + "riotIdGameName": "Autre17", + "riotIdTagline": "FIX", + "championId": 9, + "championName": "FiddleSticks", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 4, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-18", + "riotIdGameName": "Autre18", + "riotIdTagline": "FIX", + "championId": 105, + "championName": "Fizz", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + } + ] + } +} diff --git a/crates/core/tests/fixtures/riot/match_1740_EUW1_9000000005.json b/crates/core/tests/fixtures/riot/match_1740_EUW1_9000000005.json new file mode 100644 index 0000000..9ae1531 --- /dev/null +++ b/crates/core/tests/fixtures/riot/match_1740_EUW1_9000000005.json @@ -0,0 +1,260 @@ +{ + "metadata": { + "dataVersion": "2", + "matchId": "EUW1_9000000005", + "participants": [ + "fixture-puuid-01", + "fixture-puuid-02", + "fixture-puuid-03", + "fixture-puuid-04", + "fixture-puuid-05", + "fixture-puuid-self", + "fixture-puuid-07", + "fixture-puuid-08", + "fixture-puuid-09", + "fixture-puuid-10", + "fixture-puuid-11", + "fixture-puuid-12", + "fixture-puuid-13", + "fixture-puuid-14", + "fixture-puuid-15", + "fixture-puuid-16", + "fixture-puuid-17", + "fixture-puuid-18" + ] + }, + "info": { + "endOfGameResult": "GameComplete", + "gameCreation": 1794423967882, + "gameDuration": 1772, + "gameEndTimestamp": 1794425852692, + "gameId": 9000000005, + "gameMode": "CHERRY", + "gameName": "teambuilder-match-9000000005", + "gameStartTimestamp": 1794424080842, + "gameType": "MATCHED_GAME", + "gameVersion": "16.22.834.8910", + "mapId": 30, + "platformId": "EUW1", + "queueId": 1740, + "tournamentCode": "", + "participants": [ + { + "puuid": "fixture-puuid-01", + "riotIdGameName": "Autre01", + "riotIdTagline": "FIX", + "championId": 518, + "championName": "Neeko", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-02", + "riotIdGameName": "Autre02", + "riotIdTagline": "FIX", + "championId": 74, + "championName": "Heimerdinger", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-03", + "riotIdGameName": "Autre03", + "riotIdTagline": "FIX", + "championId": 18, + "championName": "Tristana", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-04", + "riotIdGameName": "Autre04", + "riotIdTagline": "FIX", + "championId": 267, + "championName": "Nami", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 3, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-05", + "riotIdGameName": "Autre05", + "riotIdTagline": "FIX", + "championId": 14, + "championName": "Sion", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 3, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-self", + "riotIdGameName": "Joueur", + "riotIdTagline": "EUW", + "championId": 19, + "championName": "Warwick", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 5, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-07", + "riotIdGameName": "Autre07", + "riotIdTagline": "FIX", + "championId": 145, + "championName": "Kaisa", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 3, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-08", + "riotIdGameName": "Autre08", + "riotIdTagline": "FIX", + "championId": 63, + "championName": "Brand", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 4, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-09", + "riotIdGameName": "Autre09", + "riotIdTagline": "FIX", + "championId": 202, + "championName": "Jhin", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 6, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-10", + "riotIdGameName": "Autre10", + "riotIdTagline": "FIX", + "championId": 111, + "championName": "Nautilus", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 6, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-11", + "riotIdGameName": "Autre11", + "riotIdTagline": "FIX", + "championId": 45, + "championName": "Veigar", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 2, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-12", + "riotIdGameName": "Autre12", + "riotIdTagline": "FIX", + "championId": 68, + "championName": "Rumble", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 2, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-13", + "riotIdGameName": "Autre13", + "riotIdTagline": "FIX", + "championId": 555, + "championName": "Pyke", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 2, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-14", + "riotIdGameName": "Autre14", + "riotIdTagline": "FIX", + "championId": 133, + "championName": "Quinn", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 5, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-15", + "riotIdGameName": "Autre15", + "riotIdTagline": "FIX", + "championId": 30, + "championName": "Karthus", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 6, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-16", + "riotIdGameName": "Autre16", + "riotIdTagline": "FIX", + "championId": 112, + "championName": "Viktor", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 4, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-17", + "riotIdGameName": "Autre17", + "riotIdTagline": "FIX", + "championId": 893, + "championName": "Aurora", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 4, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-18", + "riotIdGameName": "Autre18", + "riotIdTagline": "FIX", + "championId": 54, + "championName": "Malphite", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 5, + "win": false, + "teamId": 200 + } + ] + } +} diff --git a/crates/core/tests/fixtures/riot/match_1750_EUW1_9000000003.json b/crates/core/tests/fixtures/riot/match_1750_EUW1_9000000003.json new file mode 100644 index 0000000..024bba2 --- /dev/null +++ b/crates/core/tests/fixtures/riot/match_1750_EUW1_9000000003.json @@ -0,0 +1,260 @@ +{ + "metadata": { + "dataVersion": "2", + "matchId": "EUW1_9000000003", + "participants": [ + "fixture-puuid-01", + "fixture-puuid-02", + "fixture-puuid-03", + "fixture-puuid-04", + "fixture-puuid-05", + "fixture-puuid-self", + "fixture-puuid-07", + "fixture-puuid-08", + "fixture-puuid-09", + "fixture-puuid-10", + "fixture-puuid-11", + "fixture-puuid-12", + "fixture-puuid-13", + "fixture-puuid-14", + "fixture-puuid-15", + "fixture-puuid-16", + "fixture-puuid-17", + "fixture-puuid-18" + ] + }, + "info": { + "endOfGameResult": "GameComplete", + "gameCreation": 1778669937095, + "gameDuration": 1452, + "gameEndTimestamp": 1778671482103, + "gameId": 9000000003, + "gameMode": "CHERRY", + "gameName": "teambuilder-match-9000000003", + "gameStartTimestamp": 1778670030168, + "gameType": "MATCHED_GAME", + "gameVersion": "16.10.775.1511", + "mapId": 30, + "platformId": "EUW1", + "queueId": 1750, + "tournamentCode": "", + "participants": [ + { + "puuid": "fixture-puuid-01", + "riotIdGameName": "Autre01", + "riotIdTagline": "FIX", + "championId": 127, + "championName": "Lissandra", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 3, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-02", + "riotIdGameName": "Autre02", + "riotIdTagline": "FIX", + "championId": 875, + "championName": "Sett", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 3, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-03", + "riotIdGameName": "Autre03", + "riotIdTagline": "FIX", + "championId": 11, + "championName": "MasterYi", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 4, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-04", + "riotIdGameName": "Autre04", + "riotIdTagline": "FIX", + "championId": 412, + "championName": "Thresh", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 4, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-05", + "riotIdGameName": "Autre05", + "riotIdTagline": "FIX", + "championId": 429, + "championName": "Kalista", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 6, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-self", + "riotIdGameName": "Joueur", + "riotIdTagline": "EUW", + "championId": 117, + "championName": "Lulu", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 4, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-07", + "riotIdGameName": "Autre07", + "riotIdTagline": "FIX", + "championId": 429, + "championName": "Kalista", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-08", + "riotIdGameName": "Autre08", + "riotIdTagline": "FIX", + "championId": 83, + "championName": "Yorick", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-09", + "riotIdGameName": "Autre09", + "riotIdTagline": "FIX", + "championId": 22, + "championName": "Ashe", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-10", + "riotIdGameName": "Autre10", + "riotIdTagline": "FIX", + "championId": 45, + "championName": "Veigar", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 6, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-11", + "riotIdGameName": "Autre11", + "riotIdTagline": "FIX", + "championId": 4, + "championName": "TwistedFate", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 3, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-12", + "riotIdGameName": "Autre12", + "riotIdTagline": "FIX", + "championId": 876, + "championName": "Lillia", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-13", + "riotIdGameName": "Autre13", + "riotIdTagline": "FIX", + "championId": 432, + "championName": "Bard", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-14", + "riotIdGameName": "Autre14", + "riotIdTagline": "FIX", + "championId": 3, + "championName": "Galio", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 6, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-15", + "riotIdGameName": "Autre15", + "riotIdTagline": "FIX", + "championId": 11, + "championName": "MasterYi", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 2, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-16", + "riotIdGameName": "Autre16", + "riotIdTagline": "FIX", + "championId": 154, + "championName": "Zac", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 2, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-17", + "riotIdGameName": "Autre17", + "riotIdTagline": "FIX", + "championId": 105, + "championName": "Fizz", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 2, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-18", + "riotIdGameName": "Autre18", + "riotIdTagline": "FIX", + "championId": 115, + "championName": "Ziggs", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + } + ] + } +} diff --git a/crates/core/tests/fixtures/riot/match_1750_EUW1_9000000006.json b/crates/core/tests/fixtures/riot/match_1750_EUW1_9000000006.json new file mode 100644 index 0000000..f533029 --- /dev/null +++ b/crates/core/tests/fixtures/riot/match_1750_EUW1_9000000006.json @@ -0,0 +1,260 @@ +{ + "metadata": { + "dataVersion": "2", + "matchId": "EUW1_9000000006", + "participants": [ + "fixture-puuid-01", + "fixture-puuid-02", + "fixture-puuid-03", + "fixture-puuid-04", + "fixture-puuid-05", + "fixture-puuid-06", + "fixture-puuid-07", + "fixture-puuid-08", + "fixture-puuid-09", + "fixture-puuid-10", + "fixture-puuid-11", + "fixture-puuid-12", + "fixture-puuid-13", + "fixture-puuid-14", + "fixture-puuid-15", + "fixture-puuid-16", + "fixture-puuid-self", + "fixture-puuid-18" + ] + }, + "info": { + "endOfGameResult": "GameComplete", + "gameCreation": 1794763725811, + "gameDuration": 1874, + "gameEndTimestamp": 1794765626749, + "gameId": 9000000006, + "gameMode": "CHERRY", + "gameName": "teambuilder-match-9000000006", + "gameStartTimestamp": 1794763752767, + "gameType": "MATCHED_GAME", + "gameVersion": "16.22.834.8910", + "mapId": 30, + "platformId": "EUW1", + "queueId": 1750, + "tournamentCode": "", + "participants": [ + { + "puuid": "fixture-puuid-01", + "riotIdGameName": "Autre01", + "riotIdTagline": "FIX", + "championId": 24, + "championName": "Jax", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-02", + "riotIdGameName": "Autre02", + "riotIdTagline": "FIX", + "championId": 117, + "championName": "Lulu", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-03", + "riotIdGameName": "Autre03", + "riotIdTagline": "FIX", + "championId": 21, + "championName": "MissFortune", + "placement": 5, + "subteamPlacement": 5, + "playerSubteamId": 1, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-04", + "riotIdGameName": "Autre04", + "riotIdTagline": "FIX", + "championId": 24, + "championName": "Jax", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 2, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-05", + "riotIdGameName": "Autre05", + "riotIdTagline": "FIX", + "championId": 222, + "championName": "Jinx", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 6, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-06", + "riotIdGameName": "Autre06", + "riotIdTagline": "FIX", + "championId": 112, + "championName": "Viktor", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 2, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-07", + "riotIdGameName": "Autre07", + "riotIdTagline": "FIX", + "championId": 56, + "championName": "Nocturne", + "placement": 4, + "subteamPlacement": 4, + "playerSubteamId": 2, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-08", + "riotIdGameName": "Autre08", + "riotIdTagline": "FIX", + "championId": 74, + "championName": "Heimerdinger", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 3, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-09", + "riotIdGameName": "Autre09", + "riotIdTagline": "FIX", + "championId": 526, + "championName": "Rell", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 4, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-10", + "riotIdGameName": "Autre10", + "riotIdTagline": "FIX", + "championId": 81, + "championName": "Ezreal", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-11", + "riotIdGameName": "Autre11", + "riotIdTagline": "FIX", + "championId": 516, + "championName": "Ornn", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 3, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-12", + "riotIdGameName": "Autre12", + "riotIdTagline": "FIX", + "championId": 4, + "championName": "TwistedFate", + "placement": 6, + "subteamPlacement": 6, + "playerSubteamId": 3, + "win": false, + "teamId": 200 + }, + { + "puuid": "fixture-puuid-13", + "riotIdGameName": "Autre13", + "riotIdTagline": "FIX", + "championId": 112, + "championName": "Viktor", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 4, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-14", + "riotIdGameName": "Autre14", + "riotIdTagline": "FIX", + "championId": 120, + "championName": "Hecarim", + "placement": 1, + "subteamPlacement": 1, + "playerSubteamId": 4, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-15", + "riotIdGameName": "Autre15", + "riotIdTagline": "FIX", + "championId": 69, + "championName": "Cassiopeia", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-16", + "riotIdGameName": "Autre16", + "riotIdTagline": "FIX", + "championId": 111, + "championName": "Nautilus", + "placement": 3, + "subteamPlacement": 3, + "playerSubteamId": 5, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-self", + "riotIdGameName": "Joueur", + "riotIdTagline": "EUW", + "championId": 39, + "championName": "Irelia", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 6, + "win": true, + "teamId": 100 + }, + { + "puuid": "fixture-puuid-18", + "riotIdGameName": "Autre18", + "riotIdTagline": "FIX", + "championId": 114, + "championName": "Fiora", + "placement": 2, + "subteamPlacement": 2, + "playerSubteamId": 6, + "win": true, + "teamId": 100 + } + ] + } +}