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 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 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;
}[];
}; {
"friends": [
{
"activePlatform": "tonsor",
"displayGroup": "distinctio",
"game_name": "tutis",
"game_tag": "damnatio",
"group": "stultus",
"last_online_ts": "+067823-11-05T11:36:45.427Z",
"name": "Dr. Elias Rutherford-Kreiger",
"note": "rem",
"pid": "amissio",
"puuid": "60fCd15D-4671-CfA8-214A-6650f7bAdFBf",
"region": "soleo"
},
{
"activePlatform": "carpo",
"displayGroup": "ab",
"game_name": "aegrus",
"game_tag": "suggero",
"group": "angulus",
"last_online_ts": "+146222-11-28T18:22:32.211Z",
"name": "Michael Doyle",
"note": "carmen",
"pid": "universe",
"puuid": "0DD05D2b-D464-bCEE-Fc8C-fbB876aF25df",
"region": "subnecto"
},
{
"activePlatform": "ventus",
"displayGroup": "cavus",
"game_name": "vigilo",
"game_tag": "cruentus",
"group": "itaque",
"last_online_ts": "+209818-12-30T09:06:23.674Z",
"name": "Melissa Kreiger",
"note": "depono",
"pid": "desipio",
"puuid": "822dAd2E-dC03-AE80-e983-Ce1302Cfdf5A",
"region": "alter"
}
]
}