GET Account Alias
https://127.0.0.1:{port}/player-account/aliases/v1/active Gets the player username and tagline
Headers
-
Authorization: Basic {base64 encoded "riot:{lockfile password}"}
URL Parameters
-
{port}The port can be found from the lockfile (located at
%LocalAppData%\Riot Games\Riot Client\Config\lockfile) when the game is running. The file has the formatname:pid:port:password:protocol
Other Variables
-
lockfile passwordThe password can be found from the lockfile (located at
%LocalAppData%\Riot Games\Riot Client\Config\lockfile) when the game is running. The file has the formatname:pid:port:password:protocol
Response
type AccountAliasResponse = {
active: boolean;
/** Milliseconds since epoch */
created_datetime: number;
game_name: string;
summoner: boolean;
tag_line: string;
}; {
"active": false,
"created_datetime": "+234536-08-25T21:56:48.699Z",
"game_name": "defero",
"summoner": true,
"tag_line": "uredo"
}