API для 【庇护所】6.2新档|原倍|禁止搭建|叠加
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 218,
"fps_avg": 218,
"entities_count": 107963,
"world_seed": 23465,
"world_size": 4300,
"steam_id": "90286492504787994",
"domain": null,
"id": 11704420,
"ip": "110.42.9.116",
"port": 28040,
"query": 28042,
"color": 0,
"city": "Ningbo",
"description": "欢迎来到【庇护所】生存服务器\r\n本服务器资源倍数为所以资源1倍,零件1倍,熔炉2倍\r\n进群领取生存礼包:【88838820】\r\n本服唯一指定Q群:【88838820】\r\n本服严查外挂/鼠标宏,一人查实全队封禁!\r\n本服绝不出售任何爆炸物或相关物品。\r\n本服所有管理员均不参与游戏。\r\n本服禁止利用游戏BUG进行游戏,一经发现踢出服务器。\r\n本服务器为I9 14900K高性能独立稳定服务器,长久稳定,请放心玩耍。\r\n|①倍资源 |①倍废料 |⑤倍堆叠 |②倍熔炉\r\n|禁止搭建 |自动拾取 |生存礼包 |超长白天",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780524864,
"last_online": 1780560028,
"icon": null,
"name": "【庇护所】6.2新档|原倍|禁止搭建|叠加",
"connect": "110.42.9.116:28040",
"request": "110.42.9.116:28042",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780262422,
"last_update": 1780560028,
"banned": false,
"wipe": 1779484201,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6041,
"language": "zh",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11704420");
$data = json_decode($json, true);
var_dump($data);