GET Riot Client Config
https://clientconfig.rpg.riotgames.com/api/v1/config/player?app=Riot%20Client
Gets the config file used by the Riot Client. This includes a ton of info, most of it undocumented.
Headers:
-
X-Riot-Entitlements-JWT: {entitlement token}
-
Authorization: Bearer {auth token}
Other Variables:
-
entitlement token
Can be obtained locally with the Entitlements Token endpoint or remotely using Riot auth and the Entitlement endpoint -
auth token
Can be obtained locally with the Entitlements Token endpoint or remotely by first using the Auth Cookies endpoint then using the cookies with the Auth Request endpoint
Response:
type RiotClientConfigResponse = {
/** Mapping of affinity ID to chat server host */
"chat.affinities": {
[x: string]: string;
};
/** Mapping of affinity ID to affinity domain */
"chat.affinity_domains": {
[x: string]: string;
};
/** Chat server port */
"chat.port": number;
} & {
[x: string]: unknown;
};