API
https://vladhog.ru/GlobalBanListAPI/api/get;steamid=*steamid*;type=*type*
*steamid* - steamid of banned user (example: STEAM_0:0:204520330)
*type* - type of response data (string or json)
The "get" request is intended to get the user's ban status and returns one of two values:
True - user is banned
False - user is not banned
Type response example:
json - {'response': 'True'}
string - True
https://vladhog.ru/GlobalBanListAPI/api/info;steamid=*steamid*;type=*type*
*steamid* - steamid of banned user (example: STEAM_0:0:204520330)
*type* - type of response data (string or json)
The "info" request is intended to get information about the banned steamid, such as:
banned_by_server - the server that added steamid to our database
reason - the reason for the user's ban
date_of_ban - date and time of the user's ban
Type response example:
json - {'banned_by_server': 'Vladhog Development (Trust)', 'reason': 'test', 'date_of_ban': '2021-12-14 19:37:17.705145', 'response': 'OK'}
string - banned_by_server,reason,date_of_ban (example: "Vladhog Development (Trust),test,2021-12-14 19:37:17.705145")
or
json - {"response": "Error: no information about this steamid"}
string - Error: no information about this steamid
https://vladhog.ru/GlobalBanListAPI/api/add;steamid=*steamid*;apikey=*api_key*;reason=*reason*
*steamid* - steamid of banned user (example: STEAM_0:0:204520330)
*api_key* - api key, issued only to the owner of the server in our discord server
*reason* - the reason for the user's ban
The "add" request is intended to add a user to our blacklist
Response example:
Added
or
Error: steamid is already banned
or
Error: invalid api key