API для 『熊大』2倍|萌新|无权|6月9号新档|浴血奋战
JSON для программ, сайтов и прочего
text
json
{
"response": {
"oxide": true,
"modded": true,
"fps": 64,
"fps_avg": 62,
"entities_count": 91478,
"world_seed": 50004,
"world_size": 4000,
"steam_id": "90286777273523227",
"domain": null,
"id": 11771260,
"ip": "202.189.11.116",
"port": 18888,
"query": 18891,
"project_id": null,
"color": 0,
"city": "Beijing",
"description": "\n↗欢迎来到【熊大】服务器\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★限制组队四人\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★禁挂.办宏.禁卡石头.\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★轻松娱乐!\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n————————————————————————",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780996887,
"last_online": 1781040627,
"icon": null,
"name": "『熊大』2倍|萌新|无权|6月9号新档|浴血奋战",
"connect": "202.189.11.116:18888",
"request": "202.189.11.116:18891",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 16,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1780996887,
"last_update": 1781040627,
"banned": false,
"wipe": 1780623039,
"official": null,
"wipe_period": "weekly",
"next_wipe": 1781227839,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1008,
"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/11771260");
$data = json_decode($json, true);
var_dump($data);