Library referenceClasses
AppFriendsApi
who the player follows and who follows them; scope friends:read
Constructors
Constructor
new AppFriendsApi(gapi, auth): AppFriendsApi;Parameters
| Parameter | Type |
|---|---|
gapi | KrunkerClient |
auth | Record<string, string> |
Returns
AppFriendsApi
Methods
followers()
followers(query?): Promise<AppPage<AppFriend>>;GET /app/v1/friends/followers (friends:read), newest first; banned and hidden accounts are left out
Parameters
| Parameter | Type |
|---|---|
query? | AppPageQuery |
Returns
following()
following(query?): Promise<AppPage<AppFriend>>;GET /app/v1/friends/following (friends:read), newest first; banned and hidden accounts are left out
Parameters
| Parameter | Type |
|---|---|
query? | AppPageQuery |