getUserDetails

suspend fun getUserDetails(userName: String = "@me", fields: List<UserField>? = null): User

Retrieves details for a specific user.

Note: As of the current MAL API v2 implementation, only "@me" is supported.

Return

The UserModel details.

Parameters

userName

The username. Defaults to "@me" for the authenticated user.

fields

The list of optional fields to include in the response.

See also