Killing Floor 2
API для 猛男妙妙屋 ④ | 抗压禁混乱 | 64同屏 | QQ群6357578
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5811720json
{
"response": {
"steam_id": "90284968213228554",
"domain": null,
"id": 5811720,
"ip": "222.128.39.139",
"port": 20004,
"query": 20014,
"color": 0,
"city": "Beijing",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1774122674,
"score": 0,
"last_online": 1777236656,
"icon": null,
"name": "猛男妙妙屋 ④ | 抗压禁混乱 | 64同屏 | QQ群6357578",
"connect": "222.128.39.139:20004",
"request": "222.128.39.139:20014",
"map": "KF-EVACUATIONPOINT",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1725026494,
"last_update": 1777236656,
"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": 354,
"language": "zh",
"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/5811720");
$data = json_decode($json, true);
var_dump($data);