Difference between revisions of "WebAPI/GetPlayerBans"

From Team Fortress Wiki
Jump to: navigation, search
Line 12: Line 12:
 
:;VACBanned: Boolean indicating whether or not the player has VAC bans on record.
 
:;VACBanned: Boolean indicating whether or not the player has VAC bans on record.
 
:;NumberOfGameBans: Number of bans in games.  
 
:;NumberOfGameBans: Number of bans in games.  
:;"bans": unknown array.
+
:;bans: unknown array.
 
:;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.
 
:;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 16:59, 17 February 2020

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.
NumberOfGameBans
Number of bans in games.
bans
unknown array.
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.