PlayerEndpoint#
- class corkus.endpoints.PlayerEndpoint#
- async get(username_or_uuid, timeout=None)#
Get statistics of specific player.
Note
If you are getting player by UUID please make sure it’s in the dashed form or, even better, wrap it intro
CorkusUUID
like so:corkus.player.get(CorkusUUID(uuid))
- async get_uuid(username, timeout=None)#
Get UUID from player username
Danger
This should not be used in place of the Mojang API, and your IP will be blocked if you do so.
- Parameters:
- Return type:
- async search(term, timeout=None)#
Search for players using specified search term.
- Parameters:
- Return type: