GET Friends
https://127.0.0.1:{port}/chat/v4/friends
Get a list of friends
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 FriendsResponse = {
friends: {
activePlatform: string | null;
displayGroup: string;
game_name: string;
game_tag: string;
group: string;
/** Milliseconds since epoch */
last_online_ts: number | null;
name: string;
note: string;
pid: string;
/** Player UUID */
puuid: string;
region: string;
}[];
};