getUuid

fun getUuid(name: String): ERROR CLASS: Cannot infer argument for type parameter R

Fetches the Mojang profile associated with the given Minecraft username.

Return

a NameAndUUID entry if the profile exists, or null if the user does not exist or the API request fails

Parameters

name

the username to query