Skip to content

UserSystemOverrides HTTP Routes

UserSystemOverridesRouteHttpRequests

Source code in src/bungio/http/routes/user_system_overrides.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
class UserSystemOverridesRouteHttpRequests:
    request: Callable[..., Coroutine]

    async def get_user_system_overrides(self, auth: Optional[AuthData] = None, *args, **kwargs) -> dict:
        """
        Get the user-specific system overrides that should be respected alongside common systems.

        Args:
            auth: Authentication information. Required when users with a private profile are queried, or when Bungie feels like it

        Raises:
            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:
            The json response
        """

        return await self.request(Route(path="/UserSystemOverrides/", method="GET", auth=auth))

get_user_system_overrides(auth=None, *args, **kwargs) async

Get the user-specific system overrides that should be respected alongside common systems.

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/user_system_overrides.py
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
async def get_user_system_overrides(self, auth: Optional[AuthData] = None, *args, **kwargs) -> dict:
    """
    Get the user-specific system overrides that should be respected alongside common systems.

    Args:
        auth: Authentication information. Required when users with a private profile are queried, or when Bungie feels like it

    Raises:
        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:
        The json response
    """

    return await self.request(Route(path="/UserSystemOverrides/", method="GET", auth=auth))