Difference between revisions of "WebAPI/GetPlayerBans"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 7: Line 7:
 
== Result data ==
 
== Result data ==
  
 
+
;players: List of player ban objects for each given (and valid) 64 bit ID.
 +
:;SteamId: A string containing the player's 64 bit ID.
 +
:;CommunityBanned: Boolean indicating whether or not the player is banned from [http://steamcommunity.com Community].
 +
:;VACBanned: Boolean indicating whether or not the player has VAC bans on record.
 +
:;EconomyBan: String containing the player's ban status in the economy. If the player has no bans on record the string will be "none", if the player is on probation it will say "probation", and so forth.
  
  
 
[[Category:WebAPI]]
 
[[Category:WebAPI]]

Revision as of 05:48, 27 August 2012

URL

GET http://api.steampowered.com/ISteamUser/GetPlayerBans/v1

Method-specific parameters

steamids (string)
Comma-delimited list of SteamIDs

Result data

players
List of player ban objects for each given (and valid) 64 bit ID.
SteamId
A string containing the player's 64 bit ID.
CommunityBanned
Boolean indicating whether or not the player is banned from Community.
VACBanned
Boolean indicating whether or not the player has VAC bans on record.
EconomyBan
String containing the player's ban status in the economy. If the player has no bans on record the string will be "none", if the player is on probation it will say "probation", and so forth.