Difference between revisions of "WebAPI/GetFriendList"

From Team Fortress Wiki
Jump to: navigation, search
(Undo edit by Jhsu (Talk) (1053929) Prefer to use the smaller digit version form now. Feel free to change v000x to vx though)
Line 14: Line 14:
 
::;relationship: Role in relation to the given '''steamid'''
 
::;relationship: Role in relation to the given '''steamid'''
 
::;friend_since: A unix timestamp of when the friend was added to the list.
 
::;friend_since: A unix timestamp of when the friend was added to the list.
 
{{Languages|WebAPI/GetFriendList}}
 
  
 
[[Category:WebAPI]]
 
[[Category:WebAPI]]

Revision as of 04:22, 21 October 2014

URL

http://api.steampowered.com/ISteamUser/GetFriendList/v1

Method-specific parameters

steamid
The 64 bit ID of the user to retrieve a list for.
relationship
Filter by a given role.
all
All roles
friend

Result data

friendslist (Optional)
If the profile is not public or there are no available entries for the given relationship only an empty object will be returned.
friends
A list of objects for each list entry.
steamid
The 64 bit ID of the friend.
relationship
Role in relation to the given steamid
friend_since
A unix timestamp of when the friend was added to the list.