Friends¶
-
class
steampak.libsteam.resources.friends.Friends¶ Exposes methods to get friends related data.
Interface can be accessed through
api.friends():for user in api.friends(): print(user.name)
-
get_count(flt=65535)¶ Returns a number of current user friends, who meet a given criteria (filter).
Parameters: flt (int) – Filter value from FriendFilter. Filters can be combined with |. Defaults to FriendFilter.ALL.Return type: int
Interface to friend tags (categories).
for tag in api.friends.tags(): print(tag.name)
-
Friend Tag¶
Friend Filter¶
-
class
steampak.libsteam.resources.base.FriendFilter¶ Filters to be provided to functions returning friends. Can be combined using |.
-
ALL= 65535¶
-
BLOCKED= 1¶
-
CLAN_MEMBER= 8¶
-
FRIENDSHIP_REQUESTED= 2¶
-
FRIEND_OF_FRIEND= 64¶
-
HAS_PLAYED_WITH= 32¶
-
IGNORED= 512¶
-
IGNORED_FRIEND= 1024¶
-
IMMEDIATE= 4¶
-
NONE= 0¶
-
ON_GAME_SERVER= 16¶
-
REQUESTING_FRIENDSHIP= 128¶
-
REQUESTING_INFO= 256¶
-
SUGGESTED= 2048¶
-