-> /riot/lol/summoners/:regionId/:puuid - Get summoner information using
region ID and puuid.
-> /riot/lol/league/:regionId/:summonerId" - Get summoner league info
using region ID and summoner ID.
new file: src/routes/summoner.ts -> route for summoner info
new file: src/routes/league.ts -> route for summoner league info
new file: src/models/summoner.model.ts -> Make the request to RIOT API
to get the summoner info. Created an interface for the search parameters.
new file: src/models/league.model.ts -> Request the summoner league
info. Created an interface for the request parameters.
new file: src/interfaces/SummonerDto.ts -> Interface to receive the
summoner info response from Riot API.
new file: src/interfaces/LeagueEntryDto.ts -> Interface to receive
the summoner league response from Riot API.
new file: src/controllers/summoner.controller.ts -> Passing the
received parameters to model.
new file: src/controllers/league.controller.ts -> Passing the received
parameters to model.
new file: src/api/riot/summoner.ts -> File containing the path and
the request for the API request.
new file: src/api/riot/league.ts -> File containing the path and
the request for the API request.
-> /riot/lol/summoners/:regionId/:puuid - Get summoner information using region ID and puuid. -> /riot/lol/league/:regionId/:summonerId" - Get summoner league info using region ID and summoner ID. new file: src/routes/summoner.ts -> route for summoner info new file: src/routes/league.ts -> route for summoner league info new file: src/models/summoner.model.ts -> Make the request to RIOT API to get the summoner info. Created an interface for the search parameters. new file: src/models/league.model.ts -> Request the summoner league info. Created an interface for the request parameters. new file: src/interfaces/SummonerDto.ts -> Interface to receive the summoner info response from Riot API. new file: src/interfaces/LeagueEntryDto.ts -> Interface to receive the summoner league response from Riot API. new file: src/controllers/summoner.controller.ts -> Passing the received parameters to model. new file: src/controllers/league.controller.ts -> Passing the received parameters to model. new file: src/api/riot/summoner.ts -> File containing the path and the request for the API request. new file: src/api/riot/league.ts -> File containing the path and the request for the API request.