PartialPlayer#

Note

This is a Partial Object which means it doesn’t contain regular data. You should threat it as a reference to a object rather than a normal one. See: Partial Objects for detailed information.

class corkus.objects.PartialPlayer#

Represents a Partial version of Player. Please note that username or uuid might be None but always at least one is present.

property username#

Minecraft username of player.

Return type:

Optional[str]

property uuid#

Minecraft UUID of player.

Return type:

Optional[CorkusUUID]

async fetch(timeout=None)#

Fetch full player data from API.

Warning

This function is a API call. See: Partial Objects for detailed information.

Parameters:

timeout (Optional[int]) – Optionally override default timeout.

Return type:

Player