usersInfoFromIds
Gets information about multiple users from their ids.
Parameters
Name | Type | Description |
---|---|---|
userIds | ArrayNonEmptyIfConst | The ids of the users to get info about. |
excludeBannedUsers? | boolean | Dictates if info about banned users should be excluded from the returned data. (defaults to false). |
Example
const { data: usersInfo } = await ClassicUsersApi.usersInfoFromIds({ userIds: [45348281] });
Example Data
{
"45348281": {
hasVerifiedBadge: false,
name: "MightyPart",
displayName: "MightyPart",
},
}
Endpoint
POST /v1/users