Retrieves detailed information for a specific user by their user ID. Allows for the selection of specific properties to retrieve.
The unique identifier of the user.
Optional
options: string[] = ...Optional list of user properties to include in the response.
Retrieves a ranking list based on a specified ranking type. Allows pagination and selection of the number of entries to return.
Optional
type: string = "globalRank"The type of ranking to fetch. Types allowed: "monthRank", "weekRank", "globalRank", "highestMonthRank", "highestWeekRank", "lastMonthRank", "lastWeekRank".
Optional
page: number = 0The page number for pagination.
Optional
numEntries: number = 10The number of entries to retrieve per page.
Searches for a user by their username. Optionally allows for an exact match search.
The username to search for.
Optional
exactResult: boolean = falseFlag to indicate whether the search should return only an exact match.
Sends a private message (PM) to a user.
The user ID of the recipient.
The subject of the message.
The body/content of the message.
Creates an instance of the UserApi class.