friendsCount
Gets friends count for a specified user.
Parameters
Name | Type | Description |
---|---|---|
userId | Identifier | The id of the user to get friends for. |
Example
const { data: count } = await ClassicFriendsApi.friendsCount({ userId: 45348281 });
Endpoint
GET /v1/users/{userId}/friends/count