Difference between revisions of "WebAPI/GetPlayerBans"

From Team Fortress Wiki
Jump to: navigation, search
m (Result data)
('''Main article about WebAPI.''')
 
(4 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>

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.