API для ☆禁忌边境线☆I#01I怀旧指令服IQ群729611857
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286073174379549",
"domain": null,
"id": 11577551,
"ip": "175.178.214.31",
"port": 1328,
"query": 20566,
"color": 0,
"city": "Guangzhou",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1779368628,
"last_online": 1779475877,
"icon": null,
"name": "☆禁忌边境线☆I#01I怀旧指令服IQ群729611857",
"connect": "175.178.214.31:1328",
"request": "175.178.214.31:20566",
"map": "KF-ASHWOODASYLUM",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779356878,
"last_update": 1779475877,
"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": 965,
"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/11577551");
$data = json_decode($json, true);
var_dump($data);