From 350f134e2371632585ae6561269bd741fe350461 Mon Sep 17 00:00:00 2001 From: Superkooka Date: Fri, 2 Jan 2026 17:51:44 +0100 Subject: [PATCH] feat: get lolesport official api season --- .../LolEsportOfficialAPIEngine.php | 11 +- src/Application/ReadModel/Season.php | 16 + .../FetchLolEsportOfficialAPISchedule.php | 41 +- .../FakeLolEsportOfficialAPIEngine.php | 12 +- ...t_official_api_lol_seasons_02_01_2026.json | 2830 +++++++++++++++++ .../HTTPLolEsportOfficialAPIEngine.php | 2 +- .../App.Application.ReadModel.Season.php | 44 + .../Mapping/App.Domain.Entity.Season.php | 2 +- 8 files changed, 2952 insertions(+), 6 deletions(-) create mode 100644 src/Application/ReadModel/Season.php create mode 100644 src/Infrastructure/LolEsportOfficialAPI/Fixtures/lolesport_official_api_lol_seasons_02_01_2026.json create mode 100644 src/Infrastructure/Persistence/Mapping/App.Application.ReadModel.Season.php diff --git a/src/Application/LolEsportOfficialAPI/LolEsportOfficialAPIEngine.php b/src/Application/LolEsportOfficialAPI/LolEsportOfficialAPIEngine.php index 864db64..f94a560 100644 --- a/src/Application/LolEsportOfficialAPI/LolEsportOfficialAPIEngine.php +++ b/src/Application/LolEsportOfficialAPI/LolEsportOfficialAPIEngine.php @@ -29,7 +29,16 @@ interface LolEsportOfficialAPIEngine */ public function getLeagues(); - public function getSeasons(); // "Tournament" + /** + * @param string $leagueId + * @return array<{ + * id: string, + * slug: string, + * startDate: \DateTimeImmutable, + * endDate: \DateTimeImmutable, + * }> + */ + public function getSeasons(string $leagueId); // "Tournament" public function getSchedules(); } diff --git a/src/Application/ReadModel/Season.php b/src/Application/ReadModel/Season.php new file mode 100644 index 0000000..2ee00de --- /dev/null +++ b/src/Application/ReadModel/Season.php @@ -0,0 +1,16 @@ +create( @@ -89,6 +100,34 @@ class FetchLolEsportOfficialAPISchedule // Fetch Season (Tournament). Need to be maped to a league from name if fetch all, can be fetch by league // add endDate + $seasonsRM = $this->entityManager->getRepository(SeasonRM::class)->findBy(['providerId' => $providerRM->id]); + $seasonsRMWithId = []; + foreach ($seasonsRM as $season) { + $seasonsRMWithId[$season->providerSeasonId] = $season; + } + + $leaguesRM = $this->entityManager->getRepository(LeagueRM::class)->findBy(['providerId' => $providerRM->id]); + foreach ($leaguesRM as $league) { + $lolEsportOfficialAPISeason = $this->lolEsportOfficialAPIEngine->getSeasons($league->providerLeagueId); + + foreach ($lolEsportOfficialAPISeason as $season) { + if(!isset($seasonsRMWithId[$season['id']])) { + $leagueEntity = $this->entityManager->getRepository(League::class)->find($league->id); + $seasonEntity = new Season(); + $seasonEntity->create( + $provider, + $season['id'], + $leagueEntity, + 'REG', + (int) (new \DateTimeImmutable($season['endDate']))->format('Y'), + ); + $this->entityManager->persist($seasonEntity); + + } + } + + } + // Fetch Match Schedule // paginated. can be by league or global diff --git a/src/Infrastructure/LolEsportOfficialAPI/FakeLolEsportOfficialAPIEngine.php b/src/Infrastructure/LolEsportOfficialAPI/FakeLolEsportOfficialAPIEngine.php index 4487142..b9c377f 100644 --- a/src/Infrastructure/LolEsportOfficialAPI/FakeLolEsportOfficialAPIEngine.php +++ b/src/Infrastructure/LolEsportOfficialAPI/FakeLolEsportOfficialAPIEngine.php @@ -33,9 +33,17 @@ class FakeLolEsportOfficialAPIEngine implements LolEsportOfficialAPIEngine ], $fake_lolesport_official_api_lol_leagues['data']['leagues']); } - public function getSeasons() + public function getSeasons(string $leagueId) { - // TODO: Implement getSeasons() method. + $fake_lolesport_official_api_lol_seasons= json_decode(file_get_contents(__DIR__ . '/Fixtures/lolesport_official_api_lol_seasons_02_01_2026.json'), true); + + return array_map(fn ($season) => [ + 'id' => $season['id'], + 'slug' => $season['slug'], + 'startDate' => $season['startDate'], + 'endDate' => $season['endDate'], + ], $fake_lolesport_official_api_lol_seasons['data']['leagues'][$leagueId]['tournaments'] ?? throw new \Exception('league id not found')); + } public function getSchedules() diff --git a/src/Infrastructure/LolEsportOfficialAPI/Fixtures/lolesport_official_api_lol_seasons_02_01_2026.json b/src/Infrastructure/LolEsportOfficialAPI/Fixtures/lolesport_official_api_lol_seasons_02_01_2026.json new file mode 100644 index 0000000..6377127 --- /dev/null +++ b/src/Infrastructure/LolEsportOfficialAPI/Fixtures/lolesport_official_api_lol_seasons_02_01_2026.json @@ -0,0 +1,2830 @@ +{ + "data": { + "leagues": { + "98767975604431411": { + "tournaments": [ + { + "id": "115660540725177488", + "slug": "worlds_2026", + "startDate": "2026-10-20", + "endDate": "2026-11-20" + }, + { + "id": "113475452383887518", + "slug": "worlds_2025", + "startDate": "2025-10-14", + "endDate": "2025-11-09" + }, + { + "id": "112966669920590211", + "slug": "worlds_2024", + "startDate": "2024-09-24", + "endDate": "2024-11-02" + }, + { + "id": "110852926142971547", + "slug": "worlds_2023", + "startDate": "2023-10-09", + "endDate": "2023-11-19" + }, + { + "id": "108998961191900167", + "slug": "worlds_2022", + "startDate": "2022-09-27", + "endDate": "2022-11-17" + }, + { + "id": "106926282333089592", + "slug": "worlds_2021", + "startDate": "2021-10-03", + "endDate": "2021-11-08" + }, + { + "id": "104841804583318464", + "slug": "worlds_2020", + "startDate": "2020-09-25", + "endDate": "2020-11-01" + }, + { + "id": "109381371670969695", + "slug": "worlds_2016", + "startDate": "2016-09-28", + "endDate": "2016-10-30" + }, + { + "id": "109393484577193964", + "slug": "worlds_2015", + "startDate": "2015-09-30", + "endDate": "2015-10-31" + }, + { + "id": "107385933322514307", + "slug": "worlds_2014", + "startDate": "2014-09-18", + "endDate": "2014-10-20" + }, + { + "id": "107125010264727827", + "slug": "worlds_2011", + "startDate": "2011-06-18", + "endDate": "2011-06-20" + } + ] + }, + "98767991325878492": { + "tournaments": [ + { + "id": "115570934354631452", + "slug": "msi_2026", + "startDate": "2026-06-26", + "endDate": "2026-07-12" + }, + { + "id": "113470835034591734", + "slug": "msi_2025", + "startDate": "2025-06-26", + "endDate": "2025-07-13" + }, + { + "id": "112099354464733424", + "slug": "msi_2024", + "startDate": "2024-04-30", + "endDate": "2024-05-19" + }, + { + "id": "110198981276611770", + "slug": "msi_2023", + "startDate": "2023-05-02", + "endDate": "2023-05-22" + }, + { + "id": "107905284983470149", + "slug": "msi_2022", + "startDate": "2022-05-09", + "endDate": "2022-05-30" + }, + { + "id": "105873410870441926", + "slug": "msi_2021", + "startDate": "2021-05-06", + "endDate": "2021-05-23" + }, + { + "id": "109383739753133748", + "slug": "msi_2016", + "startDate": "2016-05-03", + "endDate": "2016-05-15" + }, + { + "id": "109381717382073421", + "slug": "msi_2015", + "startDate": "2015-05-06", + "endDate": "2015-05-11" + } + ] + }, + "113464388705111224": { + "tournaments": [ + { + "id": "115570858980956868", + "slug": "first_stand_2026", + "startDate": "2026-03-16", + "endDate": "2026-03-22" + }, + { + "id": "113470740394381750", + "slug": "first_stand_2025", + "startDate": "2025-03-10", + "endDate": "2025-03-16" + } + ] + }, + "98767991299243165": { + "tournaments": [ + { + "id": "115564797158840434", + "slug": "lcs_split_3_2026", + "startDate": "2026-07-20", + "endDate": "2026-10-12" + }, + { + "id": "115564760172712809", + "slug": "lcs_split_2_2026", + "startDate": "2026-03-29", + "endDate": "2026-06-22" + }, + { + "id": "115564596163517554", + "slug": "lcs_split_1_2026", + "startDate": "2026-01-12", + "endDate": "2026-03-08" + }, + { + "id": "112523529392628088", + "slug": "lcs_summer_2024", + "startDate": "2024-06-15", + "endDate": "2024-09-07" + }, + { + "id": "111504625283627681", + "slug": "lcs_spring_2024", + "startDate": "2024-01-19", + "endDate": "2024-04-01" + }, + { + "id": "110303581083678395", + "slug": "lcs_summer_2023", + "startDate": "2023-05-31", + "endDate": "2023-08-22" + }, + { + "id": "109517090066605615", + "slug": "lcs_spring_2023", + "startDate": "2023-01-24", + "endDate": "2023-04-11" + }, + { + "id": "108206581962155974", + "slug": "lcs_summer_2022", + "startDate": "2022-06-16", + "endDate": "2022-09-13" + }, + { + "id": "107458367237283414", + "slug": "lcs_spring_2022", + "startDate": "2022-02-04", + "endDate": "2022-04-25" + }, + { + "id": "107458335260330212", + "slug": "lcs_lock_in_2022", + "startDate": "2022-01-14", + "endDate": "2022-01-31" + }, + { + "id": "105658534671026792", + "slug": "lcs_summer_2021", + "startDate": "2021-06-04", + "endDate": "2021-08-30" + }, + { + "id": "105788932118361426", + "slug": "mss_2021", + "startDate": "2021-03-20", + "endDate": "2021-04-12" + }, + { + "id": "109428868589633757", + "slug": "lcs_spring_2021", + "startDate": "2021-02-05", + "endDate": "2021-04-11" + }, + { + "id": "105522217230238828", + "slug": "lcs_lock_in_2021", + "startDate": "2021-01-15", + "endDate": "2021-01-31" + }, + { + "id": "104174992692075107", + "slug": "lcs_summer_2020", + "startDate": "2020-06-11", + "endDate": "2020-09-14" + }, + { + "id": "103462439438682788", + "slug": "lcs_spring_2020", + "startDate": "2020-01-24", + "endDate": "2020-04-20" + }, + { + "id": "108300620375000370", + "slug": "lcs_summer_2019", + "startDate": "2019-05-31", + "endDate": "2019-09-19" + }, + { + "id": "108294935083112239", + "slug": "lcs_spring_2019", + "startDate": "2019-01-25", + "endDate": "2019-05-13" + }, + { + "id": "108288780705657082", + "slug": "na_lcs_summer_2018", + "startDate": "2018-06-15", + "endDate": "2018-09-20" + }, + { + "id": "108283378783680768", + "slug": "na_lcs_spring_2018", + "startDate": "2018-01-19", + "endDate": "2018-05-17" + }, + { + "id": "108007809203463350", + "slug": "na_lcs_summer_2017", + "startDate": "2017-06-01", + "endDate": "2017-09-27" + }, + { + "id": "107784927885285215", + "slug": "na_lcs_spring_2017", + "startDate": "2017-01-19", + "endDate": "2017-04-24" + }, + { + "id": "107744640257699883", + "slug": "na_lcs_summer_2016", + "startDate": "2016-06-02", + "endDate": "2016-08-01" + }, + { + "id": "106972812538132507", + "slug": "na_lcs_spring_2016", + "startDate": "2016-01-16", + "endDate": "2016-04-18" + }, + { + "id": "107741488941545959", + "slug": "na_lcs_summer_2015", + "startDate": "2015-05-01", + "endDate": "2015-08-24" + }, + { + "id": "107045060626269295", + "slug": "na_lcs_spring_2015", + "startDate": "2015-01-01", + "endDate": "2015-04-30" + }, + { + "id": "107719921883398026", + "slug": "na_lcs_summer_2014", + "startDate": "2014-05-23", + "endDate": "2014-09-02" + }, + { + "id": "107697401518332544", + "slug": "na_lcs_spring_2014", + "startDate": "2014-01-16", + "endDate": "2014-08-30" + }, + { + "id": "107656643139734824", + "slug": "na_lcs_summer_2013", + "startDate": "2013-06-12", + "endDate": "2013-08-16" + }, + { + "id": "107620592294752774", + "slug": "na_lcs_spring_2013", + "startDate": "2013-02-06", + "endDate": "2013-04-29" + } + ] + }, + "98767991332355509": { + "tournaments": [ + { + "id": "115565671525288828", + "slug": "cblol_split_3_2026", + "startDate": "2026-07-25", + "endDate": "2026-10-04" + }, + { + "id": "115565650134506778", + "slug": "cblol_split_2_2026", + "startDate": "2026-03-28", + "endDate": "2026-06-14" + }, + { + "id": "115565518151768348", + "slug": "cblol_split_1_2026", + "startDate": "2026-01-17", + "endDate": "2026-03-01" + }, + { + "id": "112452930844731446", + "slug": "cblol_split_2_2024", + "startDate": "2024-05-31", + "endDate": "2024-09-08" + }, + { + "id": "111687593060275227", + "slug": "cblol_split_1_2024", + "startDate": "2024-01-19", + "endDate": "2024-04-21" + }, + { + "id": "110413046183015975", + "slug": "cblol_2023_split_2", + "startDate": "2023-06-09", + "endDate": "2023-09-10" + }, + { + "id": "109523641416750631", + "slug": "cblol_2023_split_1", + "startDate": "2023-01-20", + "endDate": "2023-04-16" + }, + { + "id": "108211865716506571", + "slug": "cblol_split_2_2022", + "startDate": "2022-06-10", + "endDate": "2022-09-04" + }, + { + "id": "107405837336179496", + "slug": "cblol_split_1_2022", + "startDate": "2022-01-22", + "endDate": "2022-04-24" + }, + { + "id": "106297375705058741", + "slug": "cblol_split_2_2021", + "startDate": "2021-06-05", + "endDate": "2021-09-05" + }, + { + "id": "105539760572983266", + "slug": "cblol_split_1_2021", + "startDate": "2021-01-16", + "endDate": "2021-04-18" + }, + { + "id": "104202471497759152", + "slug": "cblol_split_2_2020", + "startDate": "2020-06-06", + "endDate": "2020-09-13" + }, + { + "id": "103478354329449186", + "slug": "cblol_2020_split1", + "startDate": "2020-01-25", + "endDate": "2020-05-03" + } + ] + }, + "98767991302996019": { + "tournaments": [ + { + "id": "115548681802226458", + "slug": "lec_split_3_2026", + "startDate": "2026-07-18", + "endDate": "2026-09-20" + }, + { + "id": "115548668058343983", + "slug": "lec_split_2_2026", + "startDate": "2026-04-03", + "endDate": "2026-06-14" + }, + { + "id": "115548424304940735", + "slug": "lec_split_1_2026", + "startDate": "2026-01-16", + "endDate": "2026-03-01" + }, + { + "id": "113487526512660769", + "slug": "lec_summer_2025", + "startDate": "2025-08-02", + "endDate": "2025-09-29" + }, + { + "id": "113487400974323999", + "slug": "lec_spring_2025", + "startDate": "2025-03-29", + "endDate": "2025-06-08" + }, + { + "id": "113475994398658012", + "slug": "lec_winter_2025", + "startDate": "2025-01-18", + "endDate": "2025-03-02" + }, + { + "id": "112869331703771902", + "slug": "lec_season_finals_2024", + "startDate": "2024-08-10", + "endDate": "2024-09-01" + }, + { + "id": "112352881163915249", + "slug": "lec_summer_2024", + "startDate": "2024-06-08", + "endDate": "2024-07-28" + }, + { + "id": "111997906550466231", + "slug": "lec_spring_2024", + "startDate": "2024-03-08", + "endDate": "2024-04-15" + }, + { + "id": "111560983131400452", + "slug": "lec_winter_2024", + "startDate": "2024-01-12", + "endDate": "2024-02-19" + }, + { + "id": "110848560874526298", + "slug": "lec_season_finals_2023", + "startDate": "2023-08-17", + "endDate": "2023-09-12" + }, + { + "id": "110429332688604205", + "slug": "lec_summer_2023", + "startDate": "2023-06-15", + "endDate": "2023-08-01" + }, + { + "id": "109919226376366902", + "slug": "lec_spring_2023", + "startDate": "2023-03-08", + "endDate": "2023-04-27" + }, + { + "id": "109466537705744120", + "slug": "lec_winter_2023", + "startDate": "2023-01-19", + "endDate": "2023-02-28" + }, + { + "id": "108176672283976661", + "slug": "lec_summer_2022", + "startDate": "2022-06-16", + "endDate": "2022-09-12" + }, + { + "id": "107417059262120466", + "slug": "lec_spring_2022", + "startDate": "2022-01-01", + "endDate": "2022-05-01" + }, + { + "id": "106269680921022418", + "slug": "lec_summer_2021", + "startDate": "2021-06-11", + "endDate": "2021-08-30" + }, + { + "id": "105522958532258735", + "slug": "lec_spring_2021", + "startDate": "2021-01-04", + "endDate": "2021-04-11" + }, + { + "id": "104169295253189561", + "slug": "lec_summer_2020", + "startDate": "2020-06-11", + "endDate": "2020-09-07" + }, + { + "id": "103462459318635408", + "slug": "lec_spring_2020", + "startDate": "2020-01-24", + "endDate": "2020-04-27" + }, + { + "id": "109427822736905228", + "slug": "lec_summer_2019", + "startDate": "2019-06-07", + "endDate": "2019-09-08" + }, + { + "id": "109427411147317375", + "slug": "lec_spring_2019", + "startDate": "2019-01-18", + "endDate": "2019-04-14" + }, + { + "id": "109423067696022268", + "slug": "eu_lcs_summer_2018", + "startDate": "2018-06-15", + "endDate": "2018-09-09" + }, + { + "id": "109421587469439501", + "slug": "eu_lcs_spring_2018", + "startDate": "2018-01-19", + "endDate": "2018-04-08" + }, + { + "id": "109407348769591764", + "slug": "eu_lcs_summer_2017", + "startDate": "2017-06-01", + "endDate": "2017-09-03" + }, + { + "id": "109188748532737193", + "slug": "eu_lcs_spring_2017", + "startDate": "2017-01-19", + "endDate": "2017-04-23" + }, + { + "id": "109189749746037163", + "slug": "eu_lcs_summer_2016", + "startDate": "2016-06-02", + "endDate": "2016-08-28" + }, + { + "id": "109188863217118371", + "slug": "eu_lcs_spring_2016", + "startDate": "2016-01-14", + "endDate": "2016-04-17" + }, + { + "id": "109218068328726599", + "slug": "eu_lcs_summer_2015", + "startDate": "2015-05-28", + "endDate": "2015-08-23" + }, + { + "id": "109212709764395955", + "slug": "eu_lcs_spring_2015", + "startDate": "2015-01-22", + "endDate": "2015-04-19" + }, + { + "id": "109229629611154474", + "slug": "eu_lcs_summer_2014", + "startDate": "2014-05-20", + "endDate": "2014-08-17" + }, + { + "id": "109218949924663566", + "slug": "eu_lcs_spring_2014", + "startDate": "2014-01-14", + "endDate": "2014-04-17" + }, + { + "id": "109349946712116171", + "slug": "eu_lcs_summer_2013", + "startDate": "2013-06-14", + "endDate": "2022-08-26" + }, + { + "id": "109274702204084948", + "slug": "eu_lcs_spring_2013", + "startDate": "2013-02-08", + "endDate": "2013-04-29" + } + ] + }, + "98767991310872058": { + "tournaments": [ + { + "id": "115548147890329817", + "slug": "lck_split_3_2026", + "startDate": "2026-07-19", + "endDate": "2026-10-11" + }, + { + "id": "115548128960088078", + "slug": "lck_split_2_2026", + "startDate": "2026-03-28", + "endDate": "2026-06-21" + }, + { + "id": "115548106590082745", + "slug": "lck_split_1_2026", + "startDate": "2026-01-13", + "endDate": "2026-03-01" + }, + { + "id": "113503357263583149", + "slug": "lck_split_3_2025", + "startDate": "2025-07-23", + "endDate": "2025-09-28" + }, + { + "id": "113503260417890076", + "slug": "lck_split_2_2025", + "startDate": "2025-04-02", + "endDate": "2025-06-15" + }, + { + "id": "113480665704729522", + "slug": "lck_cup_2025", + "startDate": "2025-01-15", + "endDate": "2025-02-23" + }, + { + "id": "113107302832812920", + "slug": "lck_regional_qualifier_2024", + "startDate": "2024-09-11", + "endDate": "2024-09-14" + }, + { + "id": "112435564213994193", + "slug": "lck_summer_2024", + "startDate": "2024-06-12", + "endDate": "2024-09-08" + }, + { + "id": "111561337005798024", + "slug": "lck_spring_2024", + "startDate": "2024-01-16", + "endDate": "2024-04-15" + }, + { + "id": "110909366079472439", + "slug": "lck_regional_finals_2023", + "startDate": "2023-08-24", + "endDate": "2023-08-28" + }, + { + "id": "110371551277508787", + "slug": "lck_summer_2023", + "startDate": "2023-06-06", + "endDate": "2023-08-22" + }, + { + "id": "109625152894842837", + "slug": "lck_spring_2023", + "startDate": "2023-01-16", + "endDate": "2023-04-12" + }, + { + "id": "108797577868041021", + "slug": "lck_regional_finals_2022", + "startDate": "2022-08-30", + "endDate": "2022-09-05" + }, + { + "id": "108195478954601542", + "slug": "lck_summer_2022", + "startDate": "2022-05-03", + "endDate": "2022-08-29" + }, + { + "id": "107418445247362001", + "slug": "lck_spring_2022", + "startDate": "2022-01-11", + "endDate": "2022-04-05" + }, + { + "id": "106840590962292347", + "slug": "lck_regional_finals_2021", + "startDate": "2021-08-31", + "endDate": "2021-09-03" + }, + { + "id": "106269654659501670", + "slug": "lck_summer_2021", + "startDate": "2021-06-09", + "endDate": "2021-09-03" + }, + { + "id": "105522984810490982", + "slug": "lck_spring_2021", + "startDate": "2021-01-13", + "endDate": "2021-04-03" + }, + { + "id": "104174613295388764", + "slug": "lck_summer_2020", + "startDate": "2020-06-16", + "endDate": "2020-09-06" + }, + { + "id": "103540363364808496", + "slug": "lck_2020_split1", + "startDate": "2020-02-05", + "endDate": "2020-04-26" + }, + { + "id": "109478595377766234", + "slug": "lck_summer_2019", + "startDate": "2019-06-05", + "endDate": "2019-08-31" + }, + { + "id": "109473592653126678", + "slug": "lck_spring_2019", + "startDate": "2019-01-16", + "endDate": "2019-04-13" + }, + { + "id": "109472224539377660", + "slug": "lck_summer_2018", + "startDate": "2018-06-12", + "endDate": "2018-09-08" + }, + { + "id": "109468403671242972", + "slug": "lck_spring_2018", + "startDate": "2018-01-16", + "endDate": "2018-04-14" + }, + { + "id": "109467297671986286", + "slug": "lck_summer_2017", + "startDate": "2017-05-30", + "endDate": "2017-08-26" + }, + { + "id": "109462843692030951", + "slug": "lck_spring_2017", + "startDate": "2017-01-17", + "endDate": "2017-04-22" + }, + { + "id": "109461739707114350", + "slug": "lck_summer_2016", + "startDate": "2016-05-25", + "endDate": "2016-08-20" + }, + { + "id": "109461292917902160", + "slug": "lck_spring_2016", + "startDate": "2016-01-13", + "endDate": "2016-04-23" + }, + { + "id": "109445541215037058", + "slug": "champions_summer_2015", + "startDate": "2015-05-20", + "endDate": "2015-08-29" + }, + { + "id": "109444869705769128", + "slug": "champions_spring_2015", + "startDate": "2015-01-07", + "endDate": "2015-05-02" + }, + { + "id": "109441091720628455", + "slug": "champions_summer_2014", + "startDate": "2014-06-17", + "endDate": "2014-08-16" + }, + { + "id": "109440642555058105", + "slug": "champions_spring_2014", + "startDate": "2014-03-12", + "endDate": "2014-05-24" + }, + { + "id": "109440320603801592", + "slug": "champions_winter_2014", + "startDate": "2013-11-15", + "endDate": "2014-01-25" + }, + { + "id": "109434488623686609", + "slug": "champions_summer_2013", + "startDate": "2013-07-03", + "endDate": "2013-08-31" + }, + { + "id": "109434103072103929", + "slug": "champions_spring_2013", + "startDate": "2013-04-03", + "endDate": "2013-06-15" + }, + { + "id": "109433362199747894", + "slug": "champions_summer_2012", + "startDate": "2012-07-04", + "endDate": "2012-09-08" + }, + { + "id": "109479322498002624", + "slug": "champions_spring_2012", + "startDate": "2012-03-21", + "endDate": "2012-05-19" + } + ] + }, + "98767991314006698": { + "tournaments": [ + { + "id": "115616254668930796", + "slug": "lpl_split_3_2026", + "startDate": "2026-07-23", + "endDate": "2026-09-09" + }, + { + "id": "115615907996665826", + "slug": "lpl_split_2_2026", + "startDate": "2026-04-04", + "endDate": "2026-06-14" + }, + { + "id": "115610660442964993", + "slug": "lpl_split_1_2026", + "startDate": "2026-01-13", + "endDate": "2026-03-08" + }, + { + "id": "114162735077666074", + "slug": "lpl_split_3_2025", + "startDate": "2025-07-19", + "endDate": "2025-09-28" + }, + { + "id": "113503620829714518", + "slug": "lpl_split_2_2025", + "startDate": "2025-03-22", + "endDate": "2025-06-14" + }, + { + "id": "113481048385904309", + "slug": "lpl_split_1_2025", + "startDate": "2025-01-12", + "endDate": "2025-03-01" + }, + { + "id": "113039084006163124", + "slug": "lpl_regional_qualifier_2024", + "startDate": "2024-08-30", + "endDate": "2024-09-03" + }, + { + "id": "112449498998017060", + "slug": "lpl_summer_2024", + "startDate": "2024-05-31", + "endDate": "2024-09-02" + }, + { + "id": "111561319409710508", + "slug": "lpl_spring_2024", + "startDate": "2024-01-21", + "endDate": "2024-04-21" + }, + { + "id": "110825936250664572", + "slug": "lpl_regional_finals_2023", + "startDate": "2023-08-03", + "endDate": "2023-08-10" + }, + { + "id": "110428848766564346", + "slug": "lpl_summer_2023", + "startDate": "2023-05-28", + "endDate": "2023-08-19" + }, + { + "id": "109669600527985422", + "slug": "lpl_spring_2023", + "startDate": "2023-01-12", + "endDate": "2023-04-16" + }, + { + "id": "108888310291632913", + "slug": "lpl_regional_finals_2022", + "startDate": "2022-09-01", + "endDate": "2022-09-05" + }, + { + "id": "108431300950695970", + "slug": "lpl_summer_2022", + "startDate": "2022-06-09", + "endDate": "2022-09-01" + }, + { + "id": "107417779630700437", + "slug": "lpl_spring_2022", + "startDate": "2022-01-10", + "endDate": "2022-05-01" + }, + { + "id": "106860829994219982", + "slug": "lpl_regional_finals_2021", + "startDate": "2021-08-29", + "endDate": "2021-09-06" + }, + { + "id": "106269484328946755", + "slug": "lpl_summer_2021", + "startDate": "2021-06-05", + "endDate": "2021-09-06" + }, + { + "id": "105516880821527383", + "slug": "lpl_spring_2021", + "startDate": "2021-01-09", + "endDate": "2021-04-18" + }, + { + "id": "104282610668475466", + "slug": "lpl_summer_2020", + "startDate": "2020-06-05", + "endDate": "2020-08-10" + }, + { + "id": "103462420723438502", + "slug": "lpl_spring_2020", + "startDate": "2020-01-13", + "endDate": "2020-04-26" + } + ] + }, + "113476371197627891": { + "tournaments": [ + { + "id": "115570728597462574", + "slug": "lcp_split_3_2026", + "startDate": "2026-07-20", + "endDate": "2026-10-11" + }, + { + "id": "115570683338104198", + "slug": "lcp_split_2_2026", + "startDate": "2026-03-29", + "endDate": "2026-06-21" + }, + { + "id": "115570600643843079", + "slug": "lcp_split_1_2026", + "startDate": "2026-01-15", + "endDate": "2026-03-01" + }, + { + "id": "113503113902025188", + "slug": "lcp_split_3_2025", + "startDate": "2025-07-26", + "endDate": "2025-10-04" + }, + { + "id": "113503008259566005", + "slug": "lcp_split_2_2025", + "startDate": "2025-04-19", + "endDate": "2025-06-08" + }, + { + "id": "113476402439116806", + "slug": "lcp_split_1_2025", + "startDate": "2025-01-17", + "endDate": "2025-02-23" + } + ] + }, + "109511549831443335": { + "tournaments": [ + { + "id": "115214006908339829", + "slug": "lta_north_promotion_2025", + "startDate": "2025-10-04", + "endDate": "2025-10-13" + }, + { + "id": "114748438521004544", + "slug": "nacl_summer_2025", + "startDate": "2025-07-17", + "endDate": "2025-09-13" + }, + { + "id": "114058215057136873", + "slug": "nacl_spring_2025", + "startDate": "2025-03-26", + "endDate": "2025-06-06" + }, + { + "id": "112528884625788027", + "slug": "lcs_challengers_summer_2024", + "startDate": "2024-06-15", + "endDate": "2024-09-09" + }, + { + "id": "111720047044090655", + "slug": "lcs_challengers_spring_2024", + "startDate": "2024-01-19", + "endDate": "2024-04-02" + }, + { + "id": "110574243270525539", + "slug": "nacl_summer_2023", + "startDate": "2023-06-08", + "endDate": "2023-08-12" + }, + { + "id": "109518697660746274", + "slug": "nacl_spring_2023", + "startDate": "2023-01-19", + "endDate": "2023-04-03" + } + ] + }, + "100695891328981122": { + "tournaments": [ + { + "id": "115014688120087909", + "slug": "emea_masters_summer_2025", + "startDate": "2025-09-23", + "endDate": "2025-11-03" + }, + { + "id": "114382093098368605", + "slug": "emea_masters_spring_2025", + "startDate": "2025-06-03", + "endDate": "2025-06-21" + }, + { + "id": "113990292491935482", + "slug": "emea_masters_winter_2025", + "startDate": "2025-03-17", + "endDate": "2025-03-23" + }, + { + "id": "112800626303511505", + "slug": "emea_masters_summer_2024", + "startDate": "2024-07-31", + "endDate": "2024-08-30" + }, + { + "id": "112009683822726475", + "slug": "emea_masters_spring_2024", + "startDate": "2024-04-14", + "endDate": "2024-04-29" + }, + { + "id": "110535609415063567", + "slug": "emea_masters_summer_2023", + "startDate": "2023-08-12", + "endDate": "2023-09-10" + }, + { + "id": "110016463793610620", + "slug": "emea_masters_spring_main_2023", + "startDate": "2023-04-09", + "endDate": "2023-04-30" + }, + { + "id": "110016413865287161", + "slug": "emea_masters_spring_play_ins_2023", + "startDate": "2023-04-02", + "endDate": "2023-04-08" + }, + { + "id": "108746562333593659", + "slug": "european_masters_summer_2022_main_event", + "startDate": "2022-08-29", + "endDate": "2022-09-28" + }, + { + "id": "108746545967156991", + "slug": "european_masters_summer_2022_play_ins", + "startDate": "2022-08-21", + "endDate": "2022-08-29" + }, + { + "id": "107893386210553711", + "slug": "european_masters_spring_2022_main_event", + "startDate": "2022-04-13", + "endDate": "2022-05-08" + }, + { + "id": "107893136888836553", + "slug": "european_masters_spring_2022_play_ins", + "startDate": "2022-04-03", + "endDate": "2022-04-08" + }, + { + "id": "106748850929174796", + "slug": "european_masters_summer_2021_main_event", + "startDate": "2021-08-29", + "endDate": "2021-09-20" + }, + { + "id": "106744065768553123", + "slug": "european_masters_summer_2021_play_ins", + "startDate": "2021-08-12", + "endDate": "2021-08-19" + }, + { + "id": "105990084003609117", + "slug": "european_masters_spring_2021_main_event", + "startDate": "2021-04-14", + "endDate": "2021-05-02" + }, + { + "id": "105945560578760612", + "slug": "european_masters_spring_2021_play_ins", + "startDate": "2021-03-29", + "endDate": "2021-04-01" + }, + { + "id": "104727755399361381", + "slug": "eu_masters_summer_2020", + "startDate": "2020-08-17", + "endDate": "2020-09-20" + }, + { + "id": "103936903203607374", + "slug": "european-masters-spring-2020", + "startDate": "2020-04-05", + "endDate": "2020-05-11" + } + ] + }, + "98767991349978712": { + "tournaments": [ + { + "id": "114828703037724343", + "slug": "ljl_finals_2025", + "startDate": "2025-07-19", + "endDate": "2025-09-15" + }, + { + "id": "114539643217942349", + "slug": "ljl_ignite_2025", + "startDate": "2025-05-21", + "endDate": "2025-06-22" + }, + { + "id": "114029811391829122", + "slug": "ljl_storm_2025", + "startDate": "2025-04-04", + "endDate": "2025-05-06" + }, + { + "id": "113679560219811189", + "slug": "ljl_forge_2025", + "startDate": "2025-01-30", + "endDate": "2025-03-09" + }, + { + "id": "112432412659901029", + "slug": "ljl_summer_2024", + "startDate": "2024-06-06", + "endDate": "2024-07-29" + }, + { + "id": "111561344908135976", + "slug": "ljl_spring_2024", + "startDate": "2024-01-19", + "endDate": "2024-03-04" + }, + { + "id": "110395308894756789", + "slug": "ljl_summer_2023", + "startDate": "2023-06-08", + "endDate": "2023-08-22" + }, + { + "id": "109710208772220245", + "slug": "ljl_spring_2023", + "startDate": "2023-01-26", + "endDate": "2023-04-18" + }, + { + "id": "108231751506773283", + "slug": "ljl_summer_2022", + "startDate": "2022-06-10", + "endDate": "2022-09-17" + }, + { + "id": "107455808271204256", + "slug": "ljl_spring_2022", + "startDate": "2022-02-09", + "endDate": "2022-04-11" + }, + { + "id": "106269757536651711", + "slug": "ljl_summer_2021", + "startDate": "2021-06-19", + "endDate": "2021-09-06" + }, + { + "id": "105562833911566614", + "slug": "ljl_spring_2021", + "startDate": "2021-01-23", + "endDate": "2021-04-12" + }, + { + "id": "104169308670244006", + "slug": "ljl_summer_2020", + "startDate": "2020-06-12", + "endDate": "2020-08-24" + }, + { + "id": "103540397353089204", + "slug": "ljl_spring_2020", + "startDate": "2020-02-08", + "endDate": "2020-04-19" + }, + { + "id": "109055718152043307", + "slug": "ljl_summer_2018", + "startDate": "2018-06-22", + "endDate": "2018-09-15" + }, + { + "id": "109054419919088344", + "slug": "ljl_spring_2018", + "startDate": "2018-02-09", + "endDate": "2018-04-14" + }, + { + "id": "109031138017871490", + "slug": "ljl_summer_2017", + "startDate": "2017-06-02", + "endDate": "2017-08-26" + }, + { + "id": "109030936392726416", + "slug": "ljl_spring_2017", + "startDate": "2017-01-20", + "endDate": "2017-04-01" + }, + { + "id": "109030266425341631", + "slug": "ljl_summer_2016", + "startDate": "2016-05-25", + "endDate": "2016-08-07" + }, + { + "id": "109030099487086096", + "slug": "ljl_spring_2016", + "startDate": "2016-01-17", + "endDate": "2016-04-10" + } + ] + }, + "98767991343597634": { + "tournaments": [ + { + "id": "114794176900117431", + "slug": "tcl_summer_2025", + "startDate": "2025-07-17", + "endDate": "2025-09-12" + }, + { + "id": "114160047307686906", + "slug": "tcl_spring_2025", + "startDate": "2025-03-27", + "endDate": "2025-05-30" + }, + { + "id": "113674160190470909", + "slug": "tcl_winter_2025", + "startDate": "2025-01-23", + "endDate": "2025-03-09" + }, + { + "id": "112445424615553289", + "slug": "tcl_summer_2024", + "startDate": "2024-05-29", + "endDate": "2024-08-05" + }, + { + "id": "111561232442665448", + "slug": "tcl_spring_2024", + "startDate": "2024-01-24", + "endDate": "2024-04-08" + }, + { + "id": "110429898578299667", + "slug": "tcl_summer_2023", + "startDate": "2023-06-06", + "endDate": "2023-08-19" + }, + { + "id": "109467188125028146", + "slug": "tcl_spring_2023", + "startDate": "2023-01-17", + "endDate": "2023-04-02" + }, + { + "id": "108197589213750000", + "slug": "tcl_summer_2022", + "startDate": "2022-04-10", + "endDate": "2022-09-17" + }, + { + "id": "107566408953200568", + "slug": "tcl_winter_2022", + "startDate": "2022-01-20", + "endDate": "2022-04-11" + }, + { + "id": "106269459003590888", + "slug": "tcl_summer_2021", + "startDate": "2021-06-05", + "endDate": "2021-09-05" + }, + { + "id": "105562822074055437", + "slug": "tcl_winter_2021", + "startDate": "2021-01-23", + "endDate": "2021-04-18" + }, + { + "id": "104248884617992857", + "slug": "tcl_summer_2020", + "startDate": "2020-06-06", + "endDate": "2020-09-06" + }, + { + "id": "103495775740097550", + "slug": "tcl_winter_2020", + "startDate": "2020-02-01", + "endDate": "2020-04-25" + }, + { + "id": "109189886261421571", + "slug": "tcl_winter_2016", + "startDate": "2016-01-16", + "endDate": "2016-04-03" + } + ] + }, + "105266098308571975": { + "tournaments": [ + { + "id": "115762368780361599", + "slug": "nlc_winter_2026", + "startDate": "2026-01-14", + "endDate": "2026-03-07" + }, + { + "id": "114754434695977574", + "slug": "nlc_summer_2025", + "startDate": "2025-07-15", + "endDate": "2025-08-30" + }, + { + "id": "114154402090513719", + "slug": "nlc_spring_2025", + "startDate": "2025-04-02", + "endDate": "2025-06-01" + }, + { + "id": "113663225580894249", + "slug": "nlc_winter_2025", + "startDate": "2025-01-14", + "endDate": "2025-03-09" + }, + { + "id": "112472677071437423", + "slug": "nlc_summer_2024", + "startDate": "2024-06-03", + "endDate": "2024-08-04" + }, + { + "id": "111561276695573648", + "slug": "nlc_spring_2024", + "startDate": "2024-01-23", + "endDate": "2024-03-28" + }, + { + "id": "110425082378454783", + "slug": "nlc_summer_2023", + "startDate": "2023-06-04", + "endDate": "2023-08-19" + }, + { + "id": "109467209705050129", + "slug": "nlc_spring_2023", + "startDate": "2023-01-15", + "endDate": "2023-03-31" + }, + { + "id": "108172137675600410", + "slug": "nlc_summer_2022", + "startDate": "2022-05-29", + "endDate": "2022-08-22" + }, + { + "id": "107417432877679361", + "slug": "nlc_spring_2022", + "startDate": "2022-01-01", + "endDate": "2022-04-05" + }, + { + "id": "106340473013395166", + "slug": "nlc_summer_2021", + "startDate": "2021-06-02", + "endDate": "2021-08-10" + }, + { + "id": "105562790070504659", + "slug": "nlc_2021_split1", + "startDate": "2021-01-19", + "endDate": "2021-03-24" + } + ] + }, + "105266103462388553": { + "tournaments": [ + { + "id": "114755484276423823", + "slug": "lfl_summer_2025", + "startDate": "2025-07-23", + "endDate": "2025-09-12" + }, + { + "id": "114188277808117678", + "slug": "lfl_spring_2025", + "startDate": "2025-04-09", + "endDate": "2025-05-29" + }, + { + "id": "113662954820773942", + "slug": "lfl_ko_2025", + "startDate": "2025-01-22", + "endDate": "2025-02-27" + }, + { + "id": "112445505684034122", + "slug": "lfl_summer_2024", + "startDate": "2024-05-21", + "endDate": "2024-08-03" + }, + { + "id": "111561126754061496", + "slug": "lfl_spring_2024", + "startDate": "2024-01-16", + "endDate": "2024-04-05" + }, + { + "id": "110424922266960422", + "slug": "lfl_summer_2023", + "startDate": "2023-05-29", + "endDate": "2023-08-15" + }, + { + "id": "109467129925344897", + "slug": "lfl_spring_2023", + "startDate": "2023-01-17", + "endDate": "2023-04-01" + }, + { + "id": "108158179538212767", + "slug": "lfl_2022_summer", + "startDate": "2022-05-30", + "endDate": "2022-08-20" + }, + { + "id": "107468370558963709", + "slug": "lfl_2022_spring", + "startDate": "2022-01-09", + "endDate": "2022-04-02" + }, + { + "id": "106313258182079617", + "slug": "lfl_2021_summer", + "startDate": "2021-05-28", + "endDate": "2021-08-12" + }, + { + "id": "105568157420311272", + "slug": "lfl_2021_spring", + "startDate": "2021-01-19", + "endDate": "2021-03-25" + } + ] + }, + "107407335299756365": { + "tournaments": [ + { + "id": "115763627953892068", + "slug": "rol_winter_2026", + "startDate": "2026-01-12", + "endDate": "2026-02-19" + }, + { + "id": "114810386116506850", + "slug": "rol_summer_2025", + "startDate": "2025-07-15", + "endDate": "2025-09-13" + }, + { + "id": "114161480598590524", + "slug": "rol_spring_2025", + "startDate": "2025-03-25", + "endDate": "2025-06-15" + }, + { + "id": "113866388606726972", + "slug": "rol_winter_2025", + "startDate": "2025-02-11", + "endDate": "2025-03-06" + }, + { + "id": "112472854456120307", + "slug": "eslol_summer_2024", + "startDate": "2024-06-03", + "endDate": "2024-08-04" + }, + { + "id": "111561264585765889", + "slug": "elite_series_spring_2024", + "startDate": "2024-01-22", + "endDate": "2024-03-31" + }, + { + "id": "110424377524465827", + "slug": "elite_series_summer_2023", + "startDate": "2023-06-04", + "endDate": "2023-08-19" + }, + { + "id": "109467335886224883", + "slug": "elite_series_spring_2023", + "startDate": "2023-01-22", + "endDate": "2023-04-01" + }, + { + "id": "108172713549542364", + "slug": "elite_series_summer_2022", + "startDate": "2022-06-05", + "endDate": "2022-08-15" + }, + { + "id": "107563481236862420", + "slug": "elite_series_spring_2022", + "startDate": "2022-01-16", + "endDate": "2022-05-01" + } + ] + }, + "105266101075764040": { + "tournaments": [ + { + "id": "114862099837919799", + "slug": "lplol_summer_2025", + "startDate": "2025-08-06", + "endDate": "2025-09-12" + }, + { + "id": "114183680761848343", + "slug": "lplol_spring_2025", + "startDate": "2025-04-17", + "endDate": "2025-05-23" + }, + { + "id": "113674204176952562", + "slug": "lplol_winter_2025", + "startDate": "2025-02-06", + "endDate": "2025-03-08" + }, + { + "id": "112439222794352790", + "slug": "lplol_summer_2024", + "startDate": "2024-05-22", + "endDate": "2024-07-21" + }, + { + "id": "111561294123889145", + "slug": "liga_portuguesa_spring_2024", + "startDate": "2024-01-24", + "endDate": "2024-04-06" + }, + { + "id": "110425027634430773", + "slug": "liga_portuguesa_summer_2023", + "startDate": "2023-06-04", + "endDate": "2023-08-19" + }, + { + "id": "109467367966036144", + "slug": "liga_portuguesa_spring_2023", + "startDate": "2023-01-22", + "endDate": "2023-04-02" + }, + { + "id": "108171576055718204", + "slug": "liga_portuguesa_summer_2022", + "startDate": "2022-06-05", + "endDate": "2022-08-08" + }, + { + "id": "107417530552861626", + "slug": "liga_portuguesa_spring_2022", + "startDate": "2022-01-17", + "endDate": "2022-03-21" + }, + { + "id": "106311748110571694", + "slug": "liga_portuguesa_summer_2021", + "startDate": "2021-05-28", + "endDate": "2021-08-31" + }, + { + "id": "105596427125578664", + "slug": "liga_portuguesa_spring_2021", + "startDate": "2021-01-25", + "endDate": "2021-03-22" + } + ] + }, + "105266094998946936": { + "tournaments": [ + { + "id": "114732099821115263", + "slug": "lit_summer_2025", + "startDate": "2025-07-14", + "endDate": "2025-09-14" + }, + { + "id": "114177864783746428", + "slug": "lit_spring_2025", + "startDate": "2025-03-31", + "endDate": "2025-05-23" + }, + { + "id": "113668152169543868", + "slug": "lit_winter_2025", + "startDate": "2025-01-21", + "endDate": "2025-03-09" + }, + { + "id": "112432347543796162", + "slug": "lit_summer_2024", + "startDate": "2024-05-22", + "endDate": "2024-07-31" + }, + { + "id": "111561283082842475", + "slug": "lit_spring_2024", + "startDate": "2024-01-24", + "endDate": "2024-03-30" + }, + { + "id": "110444946767792846", + "slug": "pg_nationals_summer_2023", + "startDate": "2023-06-06", + "endDate": "2023-08-19" + }, + { + "id": "109539799647393670", + "slug": "pg_nationals_spring_2023", + "startDate": "2023-01-24", + "endDate": "2023-04-04" + }, + { + "id": "108166853206827117", + "slug": "pg_nationals_summer_2022", + "startDate": "2022-06-05", + "endDate": "2022-08-09" + }, + { + "id": "107457033672415830", + "slug": "pg_nationals_spring_2022", + "startDate": "2022-01-17", + "endDate": "2022-04-01" + }, + { + "id": "106319725617882570", + "slug": "pg_nationals_summer_2021", + "startDate": "2021-05-28", + "endDate": "2021-08-20" + }, + { + "id": "105539775517396799", + "slug": "pg_nationals_spring_2021", + "startDate": "2021-01-13", + "endDate": "2021-03-14" + } + ] + }, + "113673877956508505": { + "tournaments": [ + { + "id": "114742343627040803", + "slug": "rift_legends_summer_2025", + "startDate": "2025-07-22", + "endDate": "2025-09-07" + }, + { + "id": "114161562262767578", + "slug": "rift_legends_spring_2025", + "startDate": "2025-04-08", + "endDate": "2025-05-18" + }, + { + "id": "113674011499027435", + "slug": "rift_legends_winter_2025", + "startDate": "2025-01-28", + "endDate": "2025-03-09" + } + ] + }, + "105266074488398661": { + "tournaments": [ + { + "id": "114714388567729501", + "slug": "superliga_summer_2025", + "startDate": "2025-07-15", + "endDate": "2025-08-31" + }, + { + "id": "114188218388133640", + "slug": "superliga_spring_2025", + "startDate": "2025-04-08", + "endDate": "2025-05-30" + }, + { + "id": "113668596080359952", + "slug": "superliga_winter_2025", + "startDate": "2025-01-14", + "endDate": "2025-03-08" + }, + { + "id": "112410296061353653", + "slug": "superliga_summer_2024", + "startDate": "2024-05-21", + "endDate": "2024-08-05" + }, + { + "id": "111521474504777719", + "slug": "superliga_spring_2024", + "startDate": "2024-01-16", + "endDate": "2024-04-06" + }, + { + "id": "110349992504762921", + "slug": "superliga_summer_2023", + "startDate": "2023-05-28", + "endDate": "2023-08-19" + }, + { + "id": "109467087406180264", + "slug": "superliga_spring_2023", + "startDate": "2023-01-15", + "endDate": "2023-04-03" + }, + { + "id": "108171648025800968", + "slug": "superliga_summer_2022", + "startDate": "2022-05-29", + "endDate": "2022-08-22" + }, + { + "id": "107468241207873310", + "slug": "superliga_spring_2022", + "startDate": "2022-01-09", + "endDate": "2022-04-01" + }, + { + "id": "106312505037543791", + "slug": "superliga_summer_2021", + "startDate": "2021-05-28", + "endDate": "2021-08-20" + }, + { + "id": "105562529622379161", + "slug": "superliga_spring_2021", + "startDate": "2021-01-18", + "endDate": "2021-03-26" + } + ] + }, + "105266091639104326": { + "tournaments": [ + { + "id": "114630622108796034", + "slug": "prime_league_summer_2025", + "startDate": "2025-07-15", + "endDate": "2025-08-24" + }, + { + "id": "114177360302644932", + "slug": "prime_league_spring_2025", + "startDate": "2025-03-25", + "endDate": "2025-05-30" + }, + { + "id": "113668056932202938", + "slug": "prime_league_winter_2025", + "startDate": "2025-01-21", + "endDate": "2025-03-08" + }, + { + "id": "112444819259693797", + "slug": "prime_league_summer_2024", + "startDate": "2024-05-21", + "endDate": "2024-08-04" + }, + { + "id": "111561088092205854", + "slug": "prime_league_spring_2024", + "startDate": "2024-01-16", + "endDate": "2024-04-14" + }, + { + "id": "110343648526792583", + "slug": "prime_league_summer_2023", + "startDate": "2023-05-30", + "endDate": "2023-08-19" + }, + { + "id": "109539770333903339", + "slug": "prime_league_spring_2023", + "startDate": "2023-01-17", + "endDate": "2023-04-04" + }, + { + "id": "108158210393938046", + "slug": "prime_league_summer_2022", + "startDate": "2022-05-30", + "endDate": "2022-08-20" + }, + { + "id": "107417741193036913", + "slug": "prime_league_spring_2022", + "startDate": "2022-01-01", + "endDate": "2022-05-01" + }, + { + "id": "106305935741165084", + "slug": "prime_league_summer_2021", + "startDate": "2021-05-10", + "endDate": "2021-08-20" + }, + { + "id": "105562556573338448", + "slug": "prime_league_spring_2021", + "startDate": "2021-01-19", + "endDate": "2021-03-22" + } + ] + }, + "105266106309666619": { + "tournaments": [ + { + "id": "114776362561927401", + "slug": "hitpoint_masters_summer_2025", + "startDate": "2025-07-19", + "endDate": "2025-08-30" + }, + { + "id": "114177840000803018", + "slug": "hitpoint_masters_spring_2025", + "startDate": "2025-04-08", + "endDate": "2025-05-30" + }, + { + "id": "113663159610812486", + "slug": "hitpoint_masters_winter_2025", + "startDate": "2025-01-23", + "endDate": "2025-03-09" + }, + { + "id": "112512601839944105", + "slug": "hitpoint_masters_summer_2024", + "startDate": "2024-05-27", + "endDate": "2024-08-05" + }, + { + "id": "111561248544664195", + "slug": "hitpoint_masters_spring_2024", + "startDate": "2024-01-22", + "endDate": "2024-04-01" + }, + { + "id": "110444842958969834", + "slug": "hitpoint_masters_summer_2023", + "startDate": "2023-06-04", + "endDate": "2023-08-19" + }, + { + "id": "109467357559212289", + "slug": "hitpoint_masters_spring_2023", + "startDate": "2023-01-22", + "endDate": "2023-04-03" + }, + { + "id": "108155621258059329", + "slug": "hitpoint_masters_summer_2022", + "startDate": "2022-06-05", + "endDate": "2022-08-22" + }, + { + "id": "107575089348919003", + "slug": "hitpoint_masters_spring_2022", + "startDate": "2022-01-17", + "endDate": "2022-03-21" + }, + { + "id": "106419362022708584", + "slug": "hitpoint_masters_summer_2021", + "startDate": "2021-06-16", + "endDate": "2021-09-30" + }, + { + "id": "105596516630284353", + "slug": "hitpoint_masters_spring_2021", + "startDate": "2021-01-24", + "endDate": "2021-03-22" + } + ] + }, + "105266111679554379": { + "tournaments": [ + { + "id": "114828766172241106", + "slug": "ebl_summer_2025", + "startDate": "2025-07-23", + "endDate": "2025-09-05" + }, + { + "id": "114234181774636570", + "slug": "ebl_spring_2025", + "startDate": "2025-04-09", + "endDate": "2025-05-29" + }, + { + "id": "113668947062270672", + "slug": "ebl_winter_2025", + "startDate": "2025-02-05", + "endDate": "2025-03-09" + }, + { + "id": "110418013822985087", + "slug": "ebl_summer_2023", + "startDate": "2023-06-05", + "endDate": "2023-08-19" + }, + { + "id": "112472788805730101", + "slug": "ebl_summer_2024", + "startDate": "2023-05-22", + "endDate": "2024-07-20" + }, + { + "id": "111561304916423966", + "slug": "ebl_spring_2024", + "startDate": "2023-01-30", + "endDate": "2024-04-06" + }, + { + "id": "109467260897553204", + "slug": "ebl_spring_2023", + "startDate": "2023-01-22", + "endDate": "2023-04-04" + }, + { + "id": "108155414582681011", + "slug": "esports_balkan_league_summer_2022", + "startDate": "2022-06-05", + "endDate": "2022-08-15" + }, + { + "id": "107468404707086558", + "slug": "esports_balkan_league_spring_2022", + "startDate": "2022-01-16", + "endDate": "2022-04-01" + }, + { + "id": "106385973090763431", + "slug": "esports_balkan_league_summer_2021", + "startDate": "2021-06-10", + "endDate": "2021-09-30" + }, + { + "id": "105596416963238709", + "slug": "esports_balkan_league_spring_2021", + "startDate": "2021-01-25", + "endDate": "2021-03-28" + } + ] + }, + "105266108767593290": { + "tournaments": [ + { + "id": "115746382932861179", + "slug": "hll_winter_2026", + "startDate": "2026-01-13", + "endDate": "2026-02-28" + }, + { + "id": "114619859980624299", + "slug": "hll_split_3_2025", + "startDate": "2025-07-15", + "endDate": "2025-09-14" + }, + { + "id": "114183452234830184", + "slug": "hll_spring_2025", + "startDate": "2025-04-01", + "endDate": "2025-06-01" + }, + { + "id": "113794227627651012", + "slug": "hll_winter_2025", + "startDate": "2025-01-21", + "endDate": "2025-03-02" + }, + { + "id": "112438678921579763", + "slug": "gll_summer_2024", + "startDate": "2024-05-20", + "endDate": "2024-07-20" + }, + { + "id": "111561239818866071", + "slug": "gll_spring_2024", + "startDate": "2024-01-22", + "endDate": "2024-04-13" + }, + { + "id": "110428723804419399", + "slug": "gll_summer_2023", + "startDate": "2023-06-04", + "endDate": "2023-08-19" + }, + { + "id": "109467311739792322", + "slug": "gll_spring_2023", + "startDate": "2023-01-22", + "endDate": "2023-04-03" + }, + { + "id": "108171529103782009", + "slug": "greek_legends_league_summer_2022", + "startDate": "2022-05-29", + "endDate": "2022-08-01" + }, + { + "id": "107575345394138670", + "slug": "greek_legends_league_spring_2022", + "startDate": "2022-01-17", + "endDate": "2022-03-13" + }, + { + "id": "106295147953460518", + "slug": "greek_legends_league_summer_2021", + "startDate": "2021-05-25", + "endDate": "2021-08-31" + }, + { + "id": "105522904800920947", + "slug": "greek_legends_league_spring_2021", + "startDate": "2021-01-11", + "endDate": "2021-03-22" + } + ] + }, + "109545772895506419": { + "tournaments": [ + { + "id": "114715029855577701", + "slug": "arabian_league_summer_2025", + "startDate": "2025-07-14", + "endDate": "2025-08-20" + }, + { + "id": "114177474113380399", + "slug": "arabian_league_spring_2025", + "startDate": "2025-04-09", + "endDate": "2025-05-23" + }, + { + "id": "113871256871360643", + "slug": "arabian_league_winter_2025", + "startDate": "2025-02-07", + "endDate": "2025-03-07" + }, + { + "id": "112439197736079298", + "slug": "arabian_league_summer_2024", + "startDate": "2024-05-22", + "endDate": "2024-07-20" + }, + { + "id": "111561311789132563", + "slug": "arabian_league_spring_2024", + "startDate": "2024-01-31", + "endDate": "2024-04-06" + }, + { + "id": "110422923164198764", + "slug": "arabian_league_summer_2023", + "startDate": "2023-06-11", + "endDate": "2023-08-13" + }, + { + "id": "109545777182748074", + "slug": "arabian_league_spring_2023", + "startDate": "2023-01-23", + "endDate": "2023-04-02" + } + ] + }, + "98767991335774713": { + "tournaments": [ + { + "id": "114810847056492033", + "slug": "lck_cl_split_3_2025", + "startDate": "2025-07-21", + "endDate": "2025-09-30" + }, + { + "id": "114194683845864582", + "slug": "lck_cl_split_2_2025", + "startDate": "2025-03-31", + "endDate": "2025-05-30" + }, + { + "id": "113684769985506946", + "slug": "lck_cl_kickoff_2025", + "startDate": "2025-01-13", + "endDate": "2025-02-27" + }, + { + "id": "112489556223566026", + "slug": "lck_challengers_summer_2024", + "startDate": "2024-06-10", + "endDate": "2024-09-06" + }, + { + "id": "111697800628410448", + "slug": "lck_challengers_spring_2024", + "startDate": "2024-01-14", + "endDate": "2024-04-12" + }, + { + "id": "110378429156980338", + "slug": "lck_challengers_summer_2023", + "startDate": "2023-06-03", + "endDate": "2023-08-25" + }, + { + "id": "109625523800645158", + "slug": "lck_challengers_spring_2023", + "startDate": "2023-01-14", + "endDate": "2023-04-10" + }, + { + "id": "108211175216687366", + "slug": "lck_challengers_summer_2022", + "startDate": "2022-05-08", + "endDate": "2022-09-07" + }, + { + "id": "107439257586040014", + "slug": "lck_challengers_spring_2022", + "startDate": "2022-01-09", + "endDate": "2022-04-02" + }, + { + "id": "106308351107145908", + "slug": "lck_challengers_summer_2021", + "startDate": "2021-06-07", + "endDate": "2021-08-28" + }, + { + "id": "105562431502825774", + "slug": "lck_challengers_spring_2021", + "startDate": "2021-01-18", + "endDate": "2021-04-09" + } + ] + }, + "105549980953490846": { + "tournaments": [ + { + "id": "115213624509956729", + "slug": "lta_south_promotion_2025", + "startDate": "2025-09-30", + "endDate": "2025-10-09" + }, + { + "id": "114776759789906723", + "slug": "circuito_desafiante_split_2_2025", + "startDate": "2025-07-21", + "endDate": "2025-09-13" + }, + { + "id": "114023990064284422", + "slug": "circuito_desafiante_split_1_2025", + "startDate": "2025-03-17", + "endDate": "2025-06-09" + }, + { + "id": "112452946293598455", + "slug": "cblol_academy_split_2_2024", + "startDate": "2024-06-02", + "endDate": "2024-08-27" + }, + { + "id": "111561450266818827", + "slug": "cblol_academy_split_1_2024", + "startDate": "2024-02-04", + "endDate": "2024-04-29" + }, + { + "id": "110413232002702589", + "slug": "cblol_academy_2023_split_2", + "startDate": "2023-06-11", + "endDate": "2023-09-03" + }, + { + "id": "109523665497010762", + "slug": "cblol_academy_2023_split_1", + "startDate": "2023-01-22", + "endDate": "2023-04-23" + }, + { + "id": "108211948453261786", + "slug": "cblol_academy_split_2_2022", + "startDate": "2022-06-12", + "endDate": "2022-09-11" + }, + { + "id": "107565607659994755", + "slug": "cblol_academy_split_1_2022", + "startDate": "2022-01-24", + "endDate": "2022-04-18" + }, + { + "id": "106269705187845648", + "slug": "cblol_academy_split_2_2021", + "startDate": "2021-06-05", + "endDate": "2021-08-31" + }, + { + "id": "105562692792011783", + "slug": "cblol_academy_split_1_2021", + "startDate": "2021-01-19", + "endDate": "2021-04-18" + } + ] + }, + "104366947889790212": { + "tournaments": [ + { + "id": "114776963169708490", + "slug": "pcs_split_3_2025", + "startDate": "2025-07-21", + "endDate": "2025-08-31" + }, + { + "id": "114256436704994993", + "slug": "pcs_split_2_2025", + "startDate": "2025-04-07", + "endDate": "2025-06-18" + }, + { + "id": "113685278534131646", + "slug": "pcs_split_1_2025", + "startDate": "2025-01-10", + "endDate": "2025-03-26" + }, + { + "id": "112518304877432981", + "slug": "pcs_summer_2024", + "startDate": "2024-06-07", + "endDate": "2024-09-01" + }, + { + "id": "111561360819956641", + "slug": "pcs_spring_2024", + "startDate": "2024-01-18", + "endDate": "2024-04-08" + }, + { + "id": "110847340080101648", + "slug": "pcs_summer_playoffs_2023", + "startDate": "2023-08-09", + "endDate": "2023-09-12" + }, + { + "id": "110423696147088301", + "slug": "pcs_summer_2023", + "startDate": "2023-06-28", + "endDate": "2023-09-12" + }, + { + "id": "110017385374098523", + "slug": "pcs_spring_playoffs_2023", + "startDate": "2023-03-22", + "endDate": "2023-04-12" + }, + { + "id": "109704924270305512", + "slug": "pcs_spring_2023", + "startDate": "2023-01-31", + "endDate": "2023-03-13" + }, + { + "id": "108166997301178190", + "slug": "pcs_summer_2022", + "startDate": "2022-06-23", + "endDate": "2022-09-10" + }, + { + "id": "107693721179065689", + "slug": "pcs_spring_2022", + "startDate": "2022-02-11", + "endDate": "2022-04-18" + }, + { + "id": "106269875362449980", + "slug": "pcs_summer_2021", + "startDate": "2021-07-03", + "endDate": "2021-08-30" + }, + { + "id": "108883606278048211", + "slug": "pcs_spring_2021", + "startDate": "2021-02-19", + "endDate": "2021-04-19" + }, + { + "id": "104372946599464241", + "slug": "pcs_summer_2020", + "startDate": "2020-06-20", + "endDate": "2020-09-07" + }, + { + "id": "108795630627503777", + "slug": "pcs_spring_2020", + "startDate": "2020-02-29", + "endDate": "2020-05-04" + } + ] + }, + "110371976858004491": { + "tournaments": [ + { + "id": "114776441103870735", + "slug": "lrn_split_2_2025", + "startDate": "2025-07-13", + "endDate": "2025-09-09" + }, + { + "id": "114069328930761295", + "slug": "lrn_split_1_2025", + "startDate": "2025-03-24", + "endDate": "2025-06-03" + }, + { + "id": "111561403146382594", + "slug": "lrn_opening_2024", + "startDate": "2024-03-31", + "endDate": "2024-07-31" + }, + { + "id": "110372140231846916", + "slug": "lrn_closing_2023", + "startDate": "2023-05-27", + "endDate": "2023-08-21" + } + ] + }, + "110372322609949919": { + "tournaments": [ + { + "id": "114776582140270669", + "slug": "lrs_split_2_2025", + "startDate": "2025-07-15", + "endDate": "2025-09-11" + }, + { + "id": "114069355462093548", + "slug": "lrs_split_1_2025", + "startDate": "2025-03-23", + "endDate": "2025-06-04" + }, + { + "id": "111561409389989820", + "slug": "lrs_opening_2024", + "startDate": "2024-03-31", + "endDate": "2024-07-22" + }, + { + "id": "110372454557117766", + "slug": "lrs_closing_2023", + "startDate": "2023-05-31", + "endDate": "2023-08-28" + } + ] + }, + "108001239847565215": { + "tournaments": [ + { + "id": "111573236201487481", + "slug": "tft_events_2024", + "startDate": "2024-10-31", + "endDate": "2024-12-15" + }, + { + "id": "109761195185432372", + "slug": "tft_events_2023", + "startDate": "2023-01-01", + "endDate": "2023-11-30" + }, + { + "id": "108398603512314614", + "slug": "tft_event_summer", + "startDate": "2022-05-01", + "endDate": "2022-11-30" + } + ] + }, + "113475149040947852": { + "tournaments": [ + { + "id": "113487258403577480", + "slug": "lta_cross_split_3_2025", + "startDate": "2025-09-13", + "endDate": "2025-09-29" + }, + { + "id": "113475267410760335", + "slug": "lta_cross_split_1_2025", + "startDate": "2025-02-15", + "endDate": "2025-02-23" + } + ] + }, + "101382741235120470": { + "tournaments": [ + { + "id": "112483472172553086", + "slug": "lla_closing_2024", + "startDate": "2024-06-11", + "endDate": "2024-08-24" + }, + { + "id": "111561378016799834", + "slug": "lla_opening_2024", + "startDate": "2024-01-15", + "endDate": "2024-04-07" + }, + { + "id": "110411420269584926", + "slug": "lla_closing_2023", + "startDate": "2023-06-04", + "endDate": "2023-08-27" + }, + { + "id": "109672513958565698", + "slug": "lla_opening_2023", + "startDate": "2023-01-22", + "endDate": "2023-04-17" + }, + { + "id": "108916413227302339", + "slug": "lla_promotion_2022", + "startDate": "2022-09-09", + "endDate": "2022-09-12" + }, + { + "id": "108197521933954516", + "slug": "lla_closing_2022", + "startDate": "2022-06-10", + "endDate": "2022-08-01" + }, + { + "id": "107530554766055254", + "slug": "lla_opening_2022", + "startDate": "2022-01-28", + "endDate": "2022-04-17" + }, + { + "id": "106845973122821257", + "slug": "lla_promotion_2021", + "startDate": "2021-08-31", + "endDate": "2021-09-06" + }, + { + "id": "106269744788213905", + "slug": "lla_closing_2021", + "startDate": "2021-06-19", + "endDate": "2021-08-30" + }, + { + "id": "105551618304300204", + "slug": "lla_opening_2021", + "startDate": "2021-01-30", + "endDate": "2021-04-10" + }, + { + "id": "104237136838348356", + "slug": "lla-closing-2020", + "startDate": "2020-06-20", + "endDate": "2020-09-06" + }, + { + "id": "103540419468532110", + "slug": "lla_2020_split1", + "startDate": "2020-02-15", + "endDate": "2020-04-25" + } + ] + }, + "105709090213554609": { + "tournaments": [ + { + "id": "112439909522772195", + "slug": "lco_summer_2024", + "startDate": "2024-05-27", + "endDate": "2024-07-22" + }, + { + "id": "111561353913765677", + "slug": "lco_spring_2024", + "startDate": "2024-01-14", + "endDate": "2024-04-29" + }, + { + "id": "109675608880518030", + "slug": "lco_split_2_2023", + "startDate": "2023-06-04", + "endDate": "2023-08-01" + }, + { + "id": "109675619694467439", + "slug": "lco_split_1_2023", + "startDate": "2023-01-19", + "endDate": "2023-04-30" + }, + { + "id": "108197674522551242", + "slug": "lco_split_2_2022", + "startDate": "2022-06-03", + "endDate": "2022-09-10" + }, + { + "id": "107439320897210747", + "slug": "lco_split_1_2022", + "startDate": "2022-01-23", + "endDate": "2022-04-29" + }, + { + "id": "106273204408903419", + "slug": "lco_split_2_2021", + "startDate": "2021-06-15", + "endDate": "2021-08-29" + }, + { + "id": "105747961298296953", + "slug": "lco_split_1_2021", + "startDate": "2021-02-23", + "endDate": "2021-04-11" + }, + { + "id": "109639302112483684", + "slug": "opl_split_2_2020", + "startDate": "2020-06-04", + "endDate": "2020-08-29" + }, + { + "id": "109632411128070811", + "slug": "opl_split_1_2020", + "startDate": "2020-01-30", + "endDate": "2020-04-25" + } + ] + }, + "107213827295848783": { + "tournaments": [ + { + "id": "114676600192097598", + "slug": "vcs_finals_2025", + "startDate": "2025-07-17", + "endDate": "2025-07-20" + }, + { + "id": "114262097377734883", + "slug": "vcs_summer_2025", + "startDate": "2025-05-27", + "endDate": "2025-06-22" + }, + { + "id": "113843044274707798", + "slug": "vcs_spring_2025", + "startDate": "2025-02-28", + "endDate": "2025-03-30" + }, + { + "id": "112552481837121929", + "slug": "vcs_summer_2024", + "startDate": "2024-06-20", + "endDate": "2024-08-19" + }, + { + "id": "111561368670434346", + "slug": "vcs_spring_2024", + "startDate": "2024-01-19", + "endDate": "2024-04-07" + }, + { + "id": "110416959491275651", + "slug": "vcs_summer_2023", + "startDate": "2023-06-21", + "endDate": "2023-09-12" + }, + { + "id": "109749565997987636", + "slug": "vcs_spring_2023", + "startDate": "2023-02-14", + "endDate": "2023-05-03" + }, + { + "id": "109067014926424947", + "slug": "vcs_summer_2022", + "startDate": "2022-07-07", + "endDate": "2022-09-04" + }, + { + "id": "109066101880117809", + "slug": "vcs_spring_2022", + "startDate": "2022-02-11", + "endDate": "2022-04-24" + }, + { + "id": "107256578722475733", + "slug": "vcs_winter_2021", + "startDate": "2021-11-14", + "endDate": "2021-12-30" + } + ] + }, + "110988878756156222": { + "tournaments": [ + { + "id": "110988896196596544", + "slug": "wqs_emea_na_2023", + "startDate": "2023-10-08", + "endDate": "2023-10-09" + } + ] + }, + "111102022734849553": { + "tournaments": [ + { + "id": "111102042176368993", + "slug": "latam_ddr_2023", + "startDate": "2023-10-14", + "endDate": "2023-10-16" + } + ] + }, + "113470291645289904": { + "tournaments": [ + { + "id": "113487190604684835", + "slug": "lta_n_split_3_2025", + "startDate": "2025-07-26", + "endDate": "2025-09-29" + }, + { + "id": "113486836942544193", + "slug": "lta_n_split_2_2025", + "startDate": "2025-04-05", + "endDate": "2025-06-16" + }, + { + "id": "113470333882171435", + "slug": "lta_n_split_1_2025", + "startDate": "2025-01-25", + "endDate": "2025-02-10" + } + ] + }, + "113475181634818701": { + "tournaments": [ + { + "id": "113487198985031867", + "slug": "lta_s_split_3_2025", + "startDate": "2025-07-26", + "endDate": "2025-09-29" + }, + { + "id": "113486838366247730", + "slug": "lta_s_split_2_2025", + "startDate": "2025-04-05", + "endDate": "2025-06-16" + }, + { + "id": "113475306293679849", + "slug": "lta_s_split_1_2025", + "startDate": "2025-01-25", + "endDate": "2025-02-09" + } + ] + }, + "98767991355908944": { + "tournaments": [ + { + "id": "107417471555810057", + "slug": "lcl_spring_2022", + "startDate": "2022-02-11", + "endDate": "2022-04-16" + }, + { + "id": "106269769724268826", + "slug": "lcl_summer_2021", + "startDate": "2021-06-26", + "endDate": "2021-09-05" + }, + { + "id": "105663539171928276", + "slug": "lcl_spring_2021", + "startDate": "2021-02-13", + "endDate": "2021-04-17" + }, + { + "id": "110429321464170890", + "slug": "lcl_split_2_2020", + "startDate": "2020-06-20", + "endDate": "2020-09-07" + }, + { + "id": "110412360196989975", + "slug": "lcl_split_1_2020", + "startDate": "2020-02-22", + "endDate": "2020-04-27" + }, + { + "id": "110435858786009956", + "slug": "lcl_split_2_2019", + "startDate": "2019-07-20", + "endDate": "2019-09-15" + }, + { + "id": "110435531035300377", + "slug": "lcl_split_1_2019", + "startDate": "2019-02-16", + "endDate": "2019-04-14" + }, + { + "id": "110441433278896011", + "slug": "lcl_split_2_2018", + "startDate": "2018-07-20", + "endDate": "2018-09-03" + }, + { + "id": "110441119491168485", + "slug": "lcl_split_1_2018", + "startDate": "2018-02-10", + "endDate": "2018-04-01" + }, + { + "id": "110452684391414465", + "slug": "lcl_split_2_2017", + "startDate": "2017-06-24", + "endDate": "2017-09-03" + }, + { + "id": "110446876240436729", + "slug": "lcl_split_1_2017", + "startDate": "2017-01-28", + "endDate": "2017-04-09" + }, + { + "id": "110458354672238716", + "slug": "lcl_split_2_2016", + "startDate": "2016-05-28", + "endDate": "2016-08-14" + }, + { + "id": "110453006238802559", + "slug": "lcl_split_1_2016", + "startDate": "2016-01-16", + "endDate": "2016-04-03" + } + ] + } + } + } +} \ No newline at end of file diff --git a/src/Infrastructure/LolEsportOfficialAPI/HTTPLolEsportOfficialAPIEngine.php b/src/Infrastructure/LolEsportOfficialAPI/HTTPLolEsportOfficialAPIEngine.php index a261edc..58283cf 100644 --- a/src/Infrastructure/LolEsportOfficialAPI/HTTPLolEsportOfficialAPIEngine.php +++ b/src/Infrastructure/LolEsportOfficialAPI/HTTPLolEsportOfficialAPIEngine.php @@ -16,7 +16,7 @@ class HTTPLolEsportOfficialAPIEngine implements LolEsportOfficialAPIEngine // TODO: Implement getLeagues() method. } - public function getSeasons() + public function getSeasons(string $leagueId) { // TODO: Implement getSeasons() method. } diff --git a/src/Infrastructure/Persistence/Mapping/App.Application.ReadModel.Season.php b/src/Infrastructure/Persistence/Mapping/App.Application.ReadModel.Season.php new file mode 100644 index 0000000..e644405 --- /dev/null +++ b/src/Infrastructure/Persistence/Mapping/App.Application.ReadModel.Season.php @@ -0,0 +1,44 @@ +setReadOnly() + ->setTable('season') +; + +$builder + ->createField('id', 'uuid') + ->nullable(false) + ->makePrimaryKey() + ->build(); + +$builder + ->createField('providerId', 'uuid') + ->columnName('provider_id') + ->nullable(false) + ->build(); + +$builder + ->createField('providerSeasonId', 'string') + ->columnName('provider_season_id') + ->nullable(false) + ->build(); + +$builder + ->createField('year', 'integer') + ->nullable(false) + ->build(); + +$builder + ->createField('kind', 'string') + ->nullable(false) + ->build(); + +$builder + ->createField('leagueId', 'string') + ->columnName('league_id') + ->nullable(false) + ->build(); diff --git a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Season.php b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Season.php index ab4044c..c98313f 100644 --- a/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Season.php +++ b/src/Infrastructure/Persistence/Mapping/App.Domain.Entity.Season.php @@ -15,7 +15,7 @@ $builder ->build(); $builder - ->createField('providerSeasonId', 'uuid') + ->createField('providerSeasonId', 'string') ->columnName('provider_season_id') ->nullable(false) ->build();