GET Client Region
https://127.0.0.1:{port}/riotclient/region-locale Gets info about the region and locale from the Riot client
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 ClientRegionResponse = {
locale: string;
region: string;
webLanguage: string;
webRegion: string;
}; {
"locale": "allatus",
"region": "antepono",
"webLanguage": "speculum",
"webRegion": "nemo"
}