Difference between revisions of "WebAPI/GetPlayerBans"

From Team Fortress Wiki
Jump to: navigation, search
('''Main article about WebAPI.''')
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
'''Main article about [[WebAPI]].'''
 
== URL ==
 
== URL ==
 
<nowiki>GET http://api.steampowered.com/ISteamUser/GetPlayerBans/v1</nowiki>
 
<nowiki>GET http://api.steampowered.com/ISteamUser/GetPlayerBans/v1</nowiki>
Line 12: Line 13:
 
:;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.
 
 
:;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]]

Latest revision as of 20:14, 18 December 2021

Main article about WebAPI.

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.
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.