getUuid

abstract suspend fun getUuid(name: String): UuidInfo?

Retrieves the UUID for the supplied name from Xenos. The result includes the moment when the data was fetched from the Mojang API, so that stale data can be identified. If the player cannot be found, null will be returned. The username does not have to be in the correct case and the canonical name will be returned within the result.