API для BACON ZOMBIES-EVERYONE WELCOME
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793255801,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "199.38.29.37:2001",
"country": "US",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19325997,
"ip": "199.38.29.37",
"language": null,
"last_update": 1794603137,
"map": "Bacon Zombies - Zombie Arland GM",
"maxplayers": 64,
"name": "BACON ZOMBIES-EVERYONE WELCOME",
"numplayers": 1,
"official": false,
"points": 31,
"port": 2001,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2001,
"request": "199.38.29.37:2001",
"secured": true,
"status": true,
"steam_id": null,
"version": "1.9.0.37",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Republic",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794599021,
"last_online": 1794603137,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1107,
"wipe_period": null,
"flags": 1,
"region": "NA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "P2p",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "110000119a8319d-00005a64142b",
"pingSiteId": "new_york",
"scenarioId": "{1DC551DB07079E38}Missions/22_GM_Arland_ZombieTest.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {},
"directJoinCode": "0713563841",
"detailsUpdatedAt": 1794601095,
"hostedScenarioModId": "622120A5448725E3",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19325997");
$data = json_decode($json, true);
var_dump($data);