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 password
The 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;
};