Lobby REST Service - loldevs/leaguespec GitHub Wiki
This is a (probably incomplete) list of the service methods of LoL's REST service.
Player account id
https://acs.leagueoflegends.com/{version}/players?name={summonerName}®ion={region}
Parameters :
- versionstring, the REST version, now :- v1
- summonerNamestring, the summoner name
- regionstring, the spectator (with the server id at the end) region, like- NA1, EUW1, ...
Summoner game history
https://acs.leagueoflegends.com/{version}/stats/player_history/{region}/{summonerAccountId}
Parameters :
- versionstring, the REST version, now :- v1
- regionstring, the region unique name, like- NA, EUW, ...(note that this is the original region of the summoner if the summoner has transferred regions)
- summonerAccountIdstring, the summoner account id
Filter :
You can add some filters : ?begIndex={start}&endIndex={end}&champion={championId}&queue={queueId}
Game data
https://acs.leagueoflegends.com/{version}/stats/game/{region}/{gameId}
Parameters :
- versionstring, the REST version, now :- v1
- regionstring, the spectator (with the server id at the end) region, like- NA1, EUW1, ...
- gameIdlong int, the game id, the game must be ended
Game timeline
https://acs.leagueoflegends.com/{version}/stats/game/{region}/{gameId}/timeline
Parameters :
- versionstring, the REST version, now :- v1
- regionstring, the spectator (with the server id at the end) region, like- NA1, EUW1, ...
- gameIdlong int, the game id, the game must be ended
Return : All game keyframes, with some data, but spectator keyframes has more data.