API для Relaxed Virome KF2 | discord.gg/virome
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1780933906,
"app": {
"id": 51,
"name": "Killing Floor 2",
"steam_id": 232090,
"url": "killing-floor-2"
},
"color": 0,
"connect": "74.91.113.151:7777",
"country": "US",
"domain": null,
"game": 232090,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11767756,
"ip": "74.91.113.151",
"language": "en",
"last_update": 1791412578,
"map": "KF-ZEDLANDING",
"maxplayers": 6,
"name": "Relaxed Virome KF2 | discord.gg/virome",
"numplayers": 0,
"official": null,
"points": 30,
"port": 7777,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27034,
"request": "74.91.113.151:27034",
"secured": true,
"status": true,
"steam_id": "90289436755535883",
"version": "1150",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Гринвилл",
"description": null,
"disabled_modules": [],
"gamemode": "Killing Floor 2",
"hidden": false,
"last_offline": 1783827320,
"last_online": 1791412578,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 631,
"wipe_period": null,
"Mode": "0",
"Region": "USCentral",
"bCustom": "False",
"NumWaves": "7",
"PingInMs": "0",
"ZedCount": "10",
"GameState": "OGS_NoSession",
"bMutators": "False",
"BotPlayers": "0",
"Difficulty": "0",
"JoinString": "74.91.113.151:7777",
"bUsesStats": "True",
"listentype": "l",
"CurrentWave": "1",
"MaxZedCount": "100",
"bInProgress": "True",
"bIsLanMatch": "False",
"environment": "l",
"MatchQuality": "0.000000",
"a2s_protocol": 17,
"bCloudServer": "False",
"bIsDedicated": "False",
"NumSpectators": "0",
"bAllowInvites": "True",
"bServerExiled": "False",
"bUsesPresence": "True",
"OwningPlayerId": "0",
"OwningPlayerName": "Relaxed Virome KF2 | discord.gg/virome",
"bNoSeasonalSkins": "False",
"bShouldAdvertise": "True",
"bUsesArbitration": "False",
"players_complete": true,
"bRequiresPassword": "True",
"SecondsDeallocated": "0",
"SteamEngineVersion": "10897",
"WeeklySelectorIndex": "0",
"bAntiCheatProtected": "True",
"NumPublicConnections": "6",
"bAllowJoinInProgress": "True",
"NumPrivateConnections": "0",
"bAllowJoinViaPresence": "True",
"bAvailableForTakeover": "False",
"NumOpenPublicConnections": "6",
"SecondsDeallocatedBucket": "0",
"NumOpenPrivateConnections": "0",
"bAllowJoinViaPresenceFriendsOnly": "False"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11767756");
$data = json_decode($json, true);
var_dump($data);