getProfile

@JsPromise
@JvmAsync
@JvmBlocking
suspend fun getProfile(player: String): PlayerProfile

Retrieves a player's profile by name or UUID.

UUID can be dashed or undashed.

Throws

if the input is not a valid username or UUID.