Difference between revisions of "WebAPI/GetPlayerBans"

From Team Fortress Wiki
Jump to: navigation, search
(marked as stub)
(Undo edit by MalikQayum (Talk) (2536861))
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{stub}}
 
 
== URL ==
 
== URL ==
 
<nowiki>GET http://api.steampowered.com/ISteamUser/GetPlayerBans/v1</nowiki>
 
<nowiki>GET http://api.steampowered.com/ISteamUser/GetPlayerBans/v1</nowiki>
Line 7: Line 6:
  
 
== 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.
 +
:;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.
 +
 +
 +
[[Category:WebAPI]]

Revision as of 17:30, 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.
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.