krapio
Library referenceClasses

AppFriendsApi

who the player follows and who follows them; scope friends:read

Constructors

Constructor

new AppFriendsApi(gapi, auth): AppFriendsApi;

Parameters

ParameterType
gapiKrunkerClient
authRecord<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

ParameterType
query?AppPageQuery

Returns

Promise<AppPage<AppFriend>>


following()

following(query?): Promise<AppPage<AppFriend>>;

GET /app/v1/friends/following (friends:read), newest first; banned and hidden accounts are left out

Parameters

ParameterType
query?AppPageQuery

Returns

Promise<AppPage<AppFriend>>

On this page