GetAvailableLocales HTTP Routes
GetAvailableLocalesRouteHttpRequests
Source code in src/bungio/http/routes/get_available_locales.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | |
get_available_locales(auth=None, *args, **kwargs)
async
List of available localization cultures
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
auth
|
Optional[AuthData]
|
Authentication information. Required when users with a private profile are queried, or when Bungie feels like it |
None
|
Raises:
| Type | Description |
|---|---|
NotFound
|
404 request |
BadRequest
|
400 request |
InvalidAuthentication
|
If authentication is invalid |
TimeoutException
|
If no connection could be made |
BungieDead
|
Servers are down |
AuthenticationTooSlow
|
The authentication key has expired |
BungieException
|
Relaying the bungie error |
Returns:
| Type | Description |
|---|---|
dict
|
The json response |
Source code in src/bungio/http/routes/get_available_locales.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | |