getProfile

abstract suspend fun getProfile(userId: UUID, unsigned: Boolean = true): ProfileInfo?(source)

Retrieves the profile for the supplied userId 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. Profiles are unsigned by default but can explicitly be requested to be signed, skipping the cache.