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": "bos",
"displayGroup": "atrocitas",
"game_name": "aperio",
"game_tag": "tametsi",
"group": "comes",
"last_online_ts": "+150293-04-22T05:02:55.962Z",
"name": "Ms. Tina Nienow",
"note": "adamo",
"pid": "cilicium",
"puuid": "Fb2d1bb2-dd33-ED5C-bbBd-89BCD0c9A2d1",
"region": "unus"
},
{
"activePlatform": "adhuc",
"displayGroup": "cibus",
"game_name": "coma",
"game_tag": "cunctatio",
"group": "fuga",
"last_online_ts": "+030440-06-15T05:04:06.115Z",
"name": "Jessie Schinner",
"note": "uter",
"pid": "suus",
"puuid": "cbBc7471-0146-c335-E0CE-D8dED5eEFFe8",
"region": "amaritudo"
},
{
"activePlatform": "voluptate",
"displayGroup": "voluptatem",
"game_name": "architecto",
"game_tag": "desidero",
"group": "tardus",
"last_online_ts": "+240292-02-19T20:22:14.600Z",
"name": "Randal Kozey",
"note": "earum",
"pid": "suadeo",
"puuid": "4478F925-e1D0-DfAd-c7AC-EFfE3EcC1fE4",
"region": "acquiro"
},
{
"activePlatform": "fugiat",
"displayGroup": "tabesco",
"game_name": "angulus",
"game_tag": "tamisium",
"group": "depono",
"last_online_ts": "+025109-10-01T10:51:43.377Z",
"name": "Ken Harvey",
"note": "degero",
"pid": "utor",
"puuid": "77B0d9b5-DbC0-1dc6-1EAa-85e49FeB2201",
"region": "cur"
},
{
"activePlatform": "vitium",
"displayGroup": "temeritas",
"game_name": "demulceo",
"game_tag": "caecus",
"group": "conduco",
"last_online_ts": "+071864-12-01T13:44:23.143Z",
"name": "Orville Hintz",
"note": "aveho",
"pid": "degenero",
"puuid": "cf71cf7e-cF9b-1BC3-1dd0-CD62Dfe8e7AF",
"region": "antea"
}
]
}