Killing Floor 2
API для UFO 24x7 Dedicated Server 3 | Hard
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11386283json
{
"response": {
"steam_id": "90285009302886402",
"domain": null,
"id": 11386283,
"ip": "173.17.254.144",
"port": 7712,
"query": 27112,
"color": 0,
"city": "Pleasant Hill",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1777237356,
"score": 0,
"last_online": 1777241435,
"icon": null,
"name": "UFO 24x7 Dedicated Server 3 | Hard",
"connect": "173.17.254.144:7712",
"request": "173.17.254.144:27112",
"map": "KF-OUTPOST",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 1,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1774596260,
"last_update": 1777241435,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 93,
"language": "en",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11386283");
$data = json_decode($json, true);
var_dump($data);